-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
40 lines (40 loc) · 1.19 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
env: {
node: true,
es6: true
},
root: true,
parser: "@typescript-eslint/parser",
plugins: [
"@typescript-eslint/eslint-plugin",
"import",
"prettier"
],
extends: [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended",
"airbnb-typescript/base",
"prettier",
"prettier/@typescript-eslint"
],
rules: {
"prettier/prettier": "error",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-parameter-properties": "off",
"import/no-cycle": "off",
"no-continue": "off",
"no-plusplus": "off",
"no-await-in-loop": "off",
"no-underscore-dangle": ["error", {"allowAfterThis": true}],
"class-methods-use-this": "off",
"no-dupe-class-members": "off",
"import/prefer-default-export": "off"
},
parserOptions: {
"project": "./tsconfig.json"
},
}