Added .eslintrc.json

This commit is contained in:
kkapsner 2017-09-24 00:11:16 +02:00
parent 00252d3e93
commit 07b052520a
1 changed files with 25 additions and 0 deletions

25
.eslintrc.json Normal file
View File

@ -0,0 +1,25 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"webextensions": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "script"
},
"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",
"brace-style": "warn",
"strict": "warn"
}
}