RenaiApp/.eslintrc.json

26 lines
481 B
JSON

{
"root": true,
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"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"
}
}
]
}