-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
37 lines (37 loc) · 958 Bytes
/
.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
{
"root": true,
"env": {
"node": true,
"jest": true,
"es6": true
},
"extends": ["airbnb-base", "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018
},
"ignorePatterns": "**/*.d.ts",
"plugins": ["@typescript-eslint", "sort-imports-es6-autofix"],
"rules": {
"import/extensions": "off",
"max-lines-per-function": ["error", { "max": 90 }],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"no-useless-constructor": "off",
"no-empty-function": "off",
"class-methods-use-this": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}