Add eslint
This commit is contained in:
parent
aaad4210cb
commit
71c5075f9c
8 changed files with 626 additions and 33 deletions
9
.eslintrc.json
Normal file
9
.eslintrc.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": ["plugin:compat/recommended"],
|
||||
"env": {
|
||||
"browser": true
|
||||
},
|
||||
"settings": {
|
||||
"polyfills": ["URLSearchParams", "Symbol.iterator", "Promise", "fetch", "Math", "Number", "navigator"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue