gosora/.eslintrc.json

31 lines
665 B
JSON

{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": false
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn"
},
"globals": {
"$": true,
"addHook": true,
"runHook": true,
"addInitHook": true,
"runInitHook": true,
"loadScript": true
}
}