Allow browser JS to be written for the frontend

ESLint in this project is by default configured to lint NodeJS
source code. The `./frontend` folder contains browser source code
though, so a new `.eslintrc` sets that for the frontend folder.
This commit is contained in:
Wolvan 2022-01-01 04:06:13 +01:00
parent 08cb0df5e5
commit 862fe9d2f2

8
frontend/.eslintrc.json Normal file
View file

@ -0,0 +1,8 @@
{
"env": {
"browser": true,
"commonjs": false,
"es6": true,
"node": false
}
}