forked from lawalletio/module-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 885 Bytes
/
.eslintrc
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
{
"root": true,
"env": {
"jest": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.eslint.json"
},
"extends": "airbnb-typescript/base",
"plugins": ["import", "@typescript-eslint"],
"rules": {
"comma-dangle": 0,
"no-underscore-dangle": 0,
"no-param-reassign": 0,
"no-return-assign": 0,
"camelcase": 0,
"import/extensions": 0,
"@typescript-eslint/no-redeclare": 0,
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn", // or "error"
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
},
"ignorePatterns": ["jest.config.js"],
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
},
"import/resolver": {
"typescript": {}
}
}
}