-
Notifications
You must be signed in to change notification settings - Fork 39
/
.eslintrc.json
41 lines (41 loc) · 1.1 KB
/
.eslintrc.json
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
41
{
"extends": [
"airbnb-base",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
"env": {
"es6": true,
"node": true,
"jest": true
},
"plugins": ["@typescript-eslint", "prettier", "import"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": ["./tsconfig.json", "./tasks/tsconfig.json"],
"tsconfigRootDir": "./"
},
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"import/extensions": 0,
"import/prefer-default-export": 0,
"prefer-destructuring": 0,
"implicit-arrow-linebreak": 0,
"function-paren-newline": 0,
"operator-linebreak": 0,
"object-curly-newline": 0,
"no-async-promise-executor": 0,
"no-underscore-dangle": 0,
"@typescript-eslint/explicit-function-return-type": ["error", { "allowExpressions": true }],
"@typescript-eslint/no-explicit-any": ["error", { "ignoreRestArgs": false }],
"@typescript-eslint/semi": ["error"],
"@typescript-eslint/camelcase": 0,
"no-param-reassign": 0
}
}