🌈 style(eslint): 新增eslint规则
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
{
|
||||
"extends": ["taro/react"],
|
||||
"extends": ["taro/react","@aaronghx/eslint-config-react"],
|
||||
"rules": {
|
||||
"react/jsx-uses-react": "off",
|
||||
"react/react-in-jsx-scope": "off"
|
||||
},
|
||||
"plugins": [""]
|
||||
"no-console": "off",
|
||||
"@typescript-eslint/no-shadow": "off",
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"eqeqeq": "off",
|
||||
"no-prototype-builtins": "off",
|
||||
"import/first": "off",
|
||||
"react/no-children-prop": "off",
|
||||
"import/no-commonjs": "off"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user