chore: Small tweaks to the eslint config files (follow-up for #167)

This commit is contained in:
Luca Greco 2019-01-28 18:56:40 +01:00
parent 83ec9e70ad
commit cdbb3115e8
4 changed files with 7 additions and 3 deletions

2
.eslintignore Normal file
View File

@ -0,0 +1,2 @@
coverage/
dist/

View File

@ -8,10 +8,8 @@
},
"env": {
"browser": true,
"es6": true,
"node": true,
"webextensions": true,
},
"globals": {

View File

@ -1,9 +1,11 @@
{
"env": {
"browser": true,
"node": false,
"webextensions": true,
},
"globals": {
// Allow the `module` global, but not the `require(…)` function
"module": false,
},
}
}

View File

@ -1,6 +1,8 @@
{
"env": {
"browser": true,
"mocha": true,
"webextensions": true,
},
"rules": {
"max-nested-callbacks": ["warn", 6]