eslint: config
This commit is contained in:
20
.eslintrc
Normal file
20
.eslintrc
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2019,
|
||||
"sourceType": "module",
|
||||
"ecmaFeatures": {
|
||||
"jsx": true
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"strict": ["error", "never"],
|
||||
"valid-typeof": "error",
|
||||
"no-unsafe-negation": "error",
|
||||
"no-unused-vars": "error",
|
||||
"no-unexpected-multiline": "error",
|
||||
"no-undef": "error"
|
||||
},
|
||||
"env": {
|
||||
"browser": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user