-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.eslintrc.json
30 lines (30 loc) · 1.36 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
{
"env": { "jest": true },
"extends": ["./node_modules/mwts/"],
"parser": "@typescript-eslint/parser",
"plugins": ["decorator-position"],
"rules": {
"eqeqeq": [2, "always"],
"no-dupe-class-members": 2,
"no-multiple-empty-lines": [2, { "max": 1 }],
"object-shorthand": 2,
"quote-props": [2, "consistent"],
"space-before-function-paren": [2, { "anonymous": "always", "named": "never", "asyncArrow": "always" }],
"camelcase": 2,
"@typescript-eslint/array-type": 2,
"@typescript-eslint/consistent-indexed-object-style": 2,
"@typescript-eslint/consistent-type-imports": [2, { "prefer": "no-type-imports" }],
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 2,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/method-signature-style": 2,
"@typescript-eslint/no-empty-function": 2,
"@typescript-eslint/no-explicit-any": 2,
"@typescript-eslint/no-non-null-asserted-optional-chain": 2,
"@typescript-eslint/no-non-null-assertion": 2,
"@typescript-eslint/no-unused-vars": 2,
"@typescript-eslint/no-use-before-define": 2,
"decorator-position/decorator-position": [2, { "printWidth": 120, "properties": "above", "methods": "above" }]
},
"ignorePatterns": ["node_modules", "dist", "test", "jest.config.js", "typings"]
}