webpack, eslint
javascript didn't have proper modules until es6 what the fuck bingo's code scares me so i hope i didn't break it when fixing the linting errors
This commit is contained in:
parent
e3b7233b20
commit
1d469d4f3e
15 changed files with 9790 additions and 1185 deletions
20
.eslintrc.json
Normal file
20
.eslintrc.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"globals": {
|
||||
"Atomics": "readonly",
|
||||
"SharedArrayBuffer": "readonly"
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {
|
||||
"no-console": "off",
|
||||
"no-unused-vars": [2, { "argsIgnorePattern": "^(success|event|resource|delta|reject)$"}],
|
||||
"no-empty": ["error", { "allowEmptyCatch": true }]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue