Move ESLint environment configuration into .eslintrc (#2051)

This commit is contained in:
Daniel Gasienica 2018-02-15 15:12:20 -05:00
parent b6ef67c402
commit be5cbc9d2b
2 changed files with 16 additions and 0 deletions

6
js/.eslintrc Normal file
View file

@ -0,0 +1,6 @@
{
"env": {
"browser": true,
"node": false
},
}

10
js/modules/.eslintrc Normal file
View file

@ -0,0 +1,10 @@
{
"env": {
"browser": false,
"commonjs": true,
"node": false
},
"globals": {
"console": true
}
}