-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
62 lines (61 loc) · 1.53 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"root": true,
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
"project": ["./tsconfig.json"]
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/strict",
"plugin:jasmine/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "jasmine","license-header"],
"env": {
"jasmine": true
},
"rules": {
"no-bitwise": 0,
"@typescript-eslint/no-extraneous-class": ["off"],
"@typescript-eslint/unbound-method": [
"error",
{
"ignoreStatic": true
}
],
"jasmine/new-line-before-expect": 0,
"jasmine/no-unsafe-spy": ["off"],
"no-console": "warn",
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
"accessibility": "explicit"
}
],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "classProperty",
"modifiers": ["public"],
"format": null,
"custom": {
"regex": "^(?!static readonly).*$",
"match": true
}
}
]
},
"ignorePatterns": ["node_modules", "dist", "kamu.graphql.interface.ts","add-license.js"],
"overrides": [
{
"files": ["src/app/**/*.ts"],
"rules": {
"license-header/header": [ "error", "src/docs/license-header-template.js" ]
}
}
]
}