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": { "env": {
"browser": true,
"es6": true, "es6": true,
"node": true, "node": true,
"webextensions": true,
}, },
"globals": { "globals": {

View File

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

View File

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