-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
33 lines (33 loc) · 949 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
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:unicorn/all",
"airbnb",
"airbnb-typescript/base"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json"]
},
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"node_modules/**",
"dist/**",
"docs/**"
],
"root": true,
"rules": {
"class-methods-use-this": "off", // allow private methods as helpers
"@typescript-eslint/no-explicit-any": "off", // allow any
"no-restricted-syntax": "off", // allow for...of
"unicorn/no-array-for-each": "off", // allow forEach
"unicorn/no-null": "off", // prefer null > undefined
"unicorn/prevent-abbreviations": "off",
"linebreak-style": "off",
"import/extensions": "off",
"@typescript-eslint/lines-between-class-members": "off"
}
}