Eslint: configure for standard-typescript (backend), and separate configurations depending on folders.
This commit is contained in:
23
client/.eslintrc.json
Normal file
23
client/.eslintrc.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"root": true,
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true
|
||||
},
|
||||
"extends": [
|
||||
"standard"
|
||||
],
|
||||
"globals": {},
|
||||
"plugins": [],
|
||||
"ignorePatterns": [],
|
||||
"rules": {
|
||||
"max-len": [
|
||||
"error",
|
||||
{
|
||||
"code": 120,
|
||||
"comments": 120
|
||||
}
|
||||
],
|
||||
"no-unused-vars": [2, {"argsIgnorePattern": "^_"}]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user