Eslint: configure for standard-typescript (backend), and separate configurations depending on folders.

This commit is contained in:
John Livingston
2021-04-07 17:20:28 +02:00
parent 8b11c10e32
commit 3dd8718744
7 changed files with 524 additions and 36 deletions

23
conversejs/.eslintrc.json Normal file
View 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": "^_"}]
}
}