代码拉取完成,页面将自动刷新
{
"env": {
"browser": true,
"es2021": true,
"jest": true,
"node": true,
"commonjs": true
},
"extends": [
"airbnb",
"plugin:compat/recommended",
"plugin:jest/recommended",
"plugin:react/recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"babel",
"jest",
"react-hooks",
"@typescript-eslint"
],
"settings": {
"react": {
"version": "16.13.1"
},
"polyfills": [
"Promise"
]
},
"rules": {
"react/jsx-props-no-spreading": 0,
"no-use-before-define": 0,
"react/display-name": 0,
"import/extensions": 0,
"import/no-cycle": 0,
"consistent-return": 0,
"no-restricted-syntax": 0,
"import/no-extraneous-dependencies": 1,
"@typescript-eslint/no-empty-function": 1,
"typescript-eslint/no-explicit-any": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-plusplus": 0,
"no-continue": 0,
"react/no-array-index-key": 1,
"no-return-await": 1,
"import/no-unresolved": 1,
"no-await-in-loop": 1,
"no-nested-ternary": 1,
"react/jsx-no-useless-fragment": 1,
"no-shadow": 1,
"comma-dangle": [
"error",
"never"
],
"space-before-function-paren": [
0,
"always"
],
"react/jsx-filename-extension": [
2,
{
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。