You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
907 B
JSON
51 lines
907 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"standard",
|
|
"plugin:react/recommended",
|
|
"plugin:react/jsx-runtime",
|
|
"prettier"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"rules": {
|
|
"max-len": [1, { "code": 200 }],
|
|
"no-useless-constructor": "off",
|
|
"react/prop-types": "off",
|
|
"eqeqeq": [1],
|
|
"no-empty": [1],
|
|
"no-extend-native": [1],
|
|
"no-prototype-builtins": [1],
|
|
"prefer-const": [1],
|
|
// "new-cap": [1],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"camelcase": [
|
|
0,
|
|
{
|
|
// "allow": ["_store$"],
|
|
"ignoreImports": true,
|
|
"ignoreGlobals": true
|
|
}
|
|
],
|
|
"no-unused-vars": [1],
|
|
"spaced-comment": [1],
|
|
"no-unreachable":"off"
|
|
}
|
|
}
|