Move ESLint environment configuration into `.eslintrc` (#2051)
parent
b6ef67c402
commit
be5cbc9d2b
@ -0,0 +1,6 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": false
|
||||
},
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": false,
|
||||
"commonjs": true,
|
||||
"node": false
|
||||
},
|
||||
"globals": {
|
||||
"console": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue