代码拉取完成,页面将自动刷新
{
"env": {
"browser": true,
"es2021": true,
"es6": true,
"jasmine": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"globals": {
"jest": false,
"__DEV__": false
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"import/no-extraneous-dependencies": 0,
"react/destructuring-assignment": 0,
"operator-linebreak": 0,
"react/sort-comp": 0,
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 0 }],
"no-underscore-dangle": 0,
"class-methods-use-this": 0,
"import/extensions": 0,
"no-plusplus": 0,
"no-await-in-loop": 0,
"max-classes-per-file": 0,
"global-require": 0,
"react/jsx-filename-extension": 0,
"react/require-default-props": 0,
"no-use-before-define": 0,
"react/jsx-props-no-spreading": 0,
"react/static-property-placement": 0,
"@typescript-eslint/no-use-before-define": ["error"]
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/consistent-type-imports": [
2,
{ "prefer": "type-imports" }
]
}
}
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。