代码拉取完成,页面将自动刷新
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:@comall/comall/recommended",
"taro/react",
"prettier",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": [
"react",
"react-hooks",
"@typescript-eslint",
"import",
"jsx-a11y",
"@comall/comall"
],
"rules": {
"no-await-in-loop": 0,
"no-empty-function": 0,
"no-invalid-this": 0,
"no-loss-of-precision": 0,
"no-magic-numbers": 0,
"no-shadow":0,
"no-warning-comments": 0,
"arrow-body-style": 0,
"dot-location": 0,
"sort-imports": 0,
"complexity":0,
"prefer-named-capture-group": 0,
"prefer-regex-literals":0,
"require-unicode-regexp": 0,
"class-methods-use-this":0,
"default-param-last":0,
"react/react-in-jsx-scope": 0,
"react/prop-types": 0,
"react/display-name": 0,
"react/no-did-update-set-state":0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function":0,
"react-hooks/exhaustive-deps":0,
"@typescript-eslint/no-unused-vars": 2,
"for-direction": 2,
"getter-return": 2,
"no-async-promise-executor": 2,
"no-compare-neg-zero": 2,
"no-cond-assign": 2,
"no-console": 2,
"no-constant-condition": 2,
"no-control-regex": 2,
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-else-if": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-empty-character-class": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-import-assign": 2,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-misleading-character-class": 2,
"no-obj-calls": 2,
"no-promise-executor-return": 2,
"no-prototype-builtins": 2,
"no-regex-spaces": 2,
"no-setter-return": 2,
"no-sparse-arrays": 2,
"no-template-curly-in-string": 2,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"no-unreachable-loop": 2,
"no-unsafe-finally": 2,
"no-unsafe-negation": 2,
"no-unsafe-optional-chaining": 2,
"no-useless-backreference": 2,
"require-atomic-updates": 2,
"use-isnan": 2,
"valid-typeof": 2,
"accessor-pairs": 2,
"array-callback-return": 2,
"block-scoped-var": 2,
"consistent-return": 2,
"curly": 2,
"default-case": 2,
"default-case-last": 2,
"dot-notation": 2,
"eqeqeq": 2,
"grouped-accessor-pairs": 2,
"guard-for-in": 2,
"max-classes-per-file": 2,
"no-alert": 2,
"no-caller": 2,
"no-case-declarations": 2,
"no-constructor-return": 2,
"no-div-regex": 2,
"no-else-return": 2,
"no-empty-pattern": 2,
"no-eq-null": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-extra-label": 2,
"no-fallthrough": 2,
"no-floating-decimal": 2,
"no-global-assign": 2,
"no-implicit-coercion": 2,
"no-implicit-globals": 2,
"no-implied-eval": 2,
"no-iterator": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-new": 2,
"no-new-func": 2,
"no-new-wrappers": 2,
"no-nonoctal-decimal-escape": 2,
"no-octal": 2,
"no-octal-escape": 2,
"no-param-reassign": 2,
"no-proto": 2,
"no-redeclare": 2,
"no-restricted-properties": 2,
"no-return-assign": 2,
"no-return-await": 2,
"no-script-url": 2,
"no-self-assign": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-throw-literal": 2,
"no-unmodified-loop-condition": 2,
"no-unused-expressions": 2,
"no-unused-labels": 2,
"no-useless-call": 2,
"no-useless-catch": 2,
"no-useless-concat": 2,
"no-useless-escape": 2,
"no-useless-return": 2,
"no-void": 2,
"no-with": 2,
"prefer-promise-reject-errors": 2,
"radix": 2,
"require-await": 2,
"vars-on-top": 2,
"wrap-iife": 2,
"yoda": 2,
"arrow-spacing": 2,
"constructor-super": 2,
"generator-star-spacing": 2,
"no-class-assign": 2,
"no-confusing-arrow": 2,
"no-const-assign": 2,
"no-dupe-class-members": 2,
"no-duplicate-imports": 2,
"no-new-symbol": 2,
"no-restricted-exports": 2,
"no-restricted-imports": 2,
"no-this-before-super": 2,
"no-useless-computed-key": 2,
"no-useless-constructor": 2,
"no-useless-rename": 2,
"no-var": 2,
"object-shorthand": 2,
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-destructuring": 2,
"prefer-numeric-literals": 2,
"prefer-rest-params": 2,
"prefer-spread": 2,
"prefer-template": 2,
"require-yield": 2,
"rest-spread-spacing": 2,
"symbol-description": 2,
"template-curly-spacing": 2,
"yield-star-spacing": 2
},
"settings": {
"react": {
"version": "detect"
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。