mirror of
https://github.com/Wolvan/poll.horse.git
synced 2024-11-22 04:58:00 +01:00
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:
parent
08cb0df5e5
commit
862fe9d2f2
1 changed files with 8 additions and 0 deletions
8
frontend/.eslintrc.json
Normal file
8
frontend/.eslintrc.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"commonjs": false,
|
||||
"es6": true,
|
||||
"node": false
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue