RenaiApp/.eslintrc.json

26 lines
462 B
JSON

{
"root": true,
"extends": ["eslint:recommended", "prettier"],
"env": {
"es6": true,
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"no-shadow": "warn",
"no-magic-numbers": ["warn", { "ignore": [0, 1, -1] }],
"no-param-reassign": "warn"
},
"overrides": [
{
"files": ["src/renderer/**/*.*"],
"parserOptions": {
"sourceType": "module"
}
}
]
}