Added eslint

v1.2.0
aymm 2021-03-28 13:15:32 +02:00
parent 0448f995f7
commit 22096f43eb
Signed by: phlaym
GPG Key ID: A06651BAB6777237
1 changed files with 15 additions and 0 deletions

15
.eslintrc Normal file
View File

@ -0,0 +1,15 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended"
],
"rules": {
"semi": ["error", "always"],
"quotes": ["error", "single"],
"no-trailing-spaces": ["error"],
"no-var": ["error"]
}
}