migrate from jshint to eslint

This commit is contained in:
Daniel Micay
2020-11-09 15:25:12 -05:00
parent 34c11b36d3
commit b4336a84b7
5 changed files with 600 additions and 226 deletions

29
.eslintrc.json Normal file
View File

@@ -0,0 +1,29 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
}
}