Linted project with eslint

This commit is contained in:
2022-11-02 21:48:40 +01:00
parent 2d42605c59
commit f8708909b6
11 changed files with 232 additions and 78 deletions

View File

@@ -9,6 +9,7 @@
"eslint-config-airbnb-base",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["@typescript-eslint"],
"rules": {
"lines-between-class-members": [
@@ -24,8 +25,17 @@
}
],
"no-promise-executor-return": 1,
"import/extensions": "off",
"max-classes-per-file": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"@typescript-eslint/no-var-requires": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
}
}