🎈 perf(eslint):eslint上下文内容寻找不报错
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": ["taro/react","@aaronghx/eslint-config-react"],
|
"extends": ["taro/react", "@aaronghx/eslint-config-react"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-console": "off",
|
"no-console": "off",
|
||||||
"@typescript-eslint/no-shadow": "off",
|
"@typescript-eslint/no-shadow": "off",
|
||||||
@@ -10,6 +10,6 @@
|
|||||||
"react/no-children-prop": "off",
|
"react/no-children-prop": "off",
|
||||||
"import/no-commonjs": "off",
|
"import/no-commonjs": "off",
|
||||||
"no-use-before-define": "off",
|
"no-use-before-define": "off",
|
||||||
"@typescript-eslint/no-use-before-define": ["error"]
|
"@typescript-eslint/no-use-before-define": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user