Add eslint

This commit is contained in:
Gautier Pelloux-Prayer 2019-10-05 13:57:43 +02:00
parent aaad4210cb
commit 71c5075f9c
8 changed files with 626 additions and 33 deletions

9
.eslintrc.json Normal file
View file

@ -0,0 +1,9 @@
{
"extends": ["plugin:compat/recommended"],
"env": {
"browser": true
},
"settings": {
"polyfills": ["URLSearchParams", "Symbol.iterator", "Promise", "fetch", "Math", "Number", "navigator"]
}
}