Installed ESLint

This commit is contained in:
Daniel van Noord
2021-01-31 13:54:31 +01:00
parent 2d9af222c1
commit 4dd640ef4b
5 changed files with 80 additions and 54 deletions

24
.eslintrc.js Normal file
View File

@@ -0,0 +1,24 @@
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"globals": {
"CM": "writable",
"Game": "writable",
"l": "readonly",
"b64_to_utf8": "readonly",
"utf8_to_b64": "readonly",
"Beautify": "writable",
"realAudio": "readonly",
"JSColor": "readonly",
"jscolor": "readonly",
"BeautifyAll": "readonly",
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
}
};