UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

79 lines (78 loc) 2.44 kB
{ "root": true, "parser": "@typescript-eslint/parser", "plugins": ["@typescript-eslint", "react-hooks", "react"], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:react/recommended", "plugin:react-hooks/recommended", "plugin:prettier/recommended" ], "rules": { "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "react/display-name": "off", "no-useless-escape": "off", "react/no-find-dom-node": "off", "@typescript-eslint/no-non-null-assertion": "off", " @typescript-eslint/ban-types": "off", "react-hooks/exhaustive-deps": "error", "no-case-declarations": "off", "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/interface-name-prefix": "off", "no-undef": "off", "no-prototype-builtins": "off", "@typescript-eslint/camelcase": "off", "@typescript-eslint/prefer-string-starts-ends-with": "off", "@typescript-eslint/unbound-method": "off", "@typescript-eslint/explicit-member-accessibility": "off", "react/no-deprecated": "off", "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-this-alias": "off", "no-control-regex": "off", "@typescript-eslint/ban-ts-comment": "off", "no-async-promise-executor": "off", "no-constant-condition": "off", "@typescript-eslint/no-empty-function": "off", "react/jsx-key": "off", "no-fallthrough": "off", "prefer-const": "off", "@typescript-eslint/no-empty-interface": "off", "no-unreachable": "off", "getter-return": "off", "react/no-string-refs": "off", "react/prop-types": "off", "no-shadow-restricted-names": "off", "no-empty": "off", "@typescript-eslint/no-inferrable-types": "off", "@typescript-eslint/prefer-as-const": "off", "@typescript-eslint/array-type": [ "error", { "default": "array-simple" } ], "no-default-export-css-module": 2, "no-camelcase-key-css-module": 2 }, "settings": { "react": { "pragma": "React", "version": "16.14.0" } }, "parserOptions": { "ecmaVersion": 11, "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "env": { "browser": true, "node": true } }