Added linting.
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
"extends": "airbnb-base",
|
||||
"parser": "@babel/eslint-parser",
|
||||
"parserOptions": {
|
||||
"sourceType": "script"
|
||||
"sourceType": "script",
|
||||
"requireConfigFile": false
|
||||
},
|
||||
"env": {
|
||||
"es2020": true
|
||||
@@ -12,7 +13,8 @@
|
||||
"strict": 0,
|
||||
"no-unused-vars": ["error", {"argsIgnorePattern": "^_"}],
|
||||
"no-console": 0,
|
||||
"indent": ["error", 4],
|
||||
"indent": ["error", "tab"],
|
||||
"no-tabs": 0,
|
||||
"max-len": [2, {"code": 400, "tabWidth": 4, "ignoreUrls": true}]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user