代码拉取完成,页面将自动刷新
{
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"react-hooks",
"import"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"settings": {
"react": {
"version": "16.8"
}
},
"env": {
"browser": true,
"jest": true,
"es6": true,
"node": true
},
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-object-literal-type-assertion": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-use-before-define": 0,
"react/jsx-indent-props": 0,
"react/jsx-uses-react": 1,
"react/prop-types": 0,
"no-useless-escape": 0,
"no-template-curly-in-string": 0,
"semi": [2, "always"],
"import/no-self-import": [2],
"import/no-cycle": [2],
"import/no-duplicates": [2],
"import/newline-after-import": [2],
"import/order": [
"error",
{
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["builtin"],
"groups": ["external", "builtin", "internal", "sibling", "parent"]
}
],
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。