RenaiApp/.eslintrc.json

27 lines
497 B
JSON

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