chore: Small tweaks to the eslint config files (follow-up for #167)
This commit is contained in:
parent
83ec9e70ad
commit
cdbb3115e8
|
@ -0,0 +1,2 @@
|
|||
coverage/
|
||||
dist/
|
|
@ -8,10 +8,8 @@
|
|||
},
|
||||
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true,
|
||||
"node": true,
|
||||
"webextensions": true,
|
||||
},
|
||||
|
||||
"globals": {
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": false,
|
||||
"webextensions": true,
|
||||
},
|
||||
"globals": {
|
||||
// Allow the `module` global, but not the `require(…)` function
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"mocha": true,
|
||||
"webextensions": true,
|
||||
},
|
||||
"rules": {
|
||||
"max-nested-callbacks": ["warn", 6]
|
||||
|
|
Loading…
Reference in New Issue