forked from prismake/typegql
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
28 lines (28 loc) · 996 Bytes
/
tslint.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
{
"extends": ["tslint:latest", "tslint-config-prettier", "tslint-sonarts"],
"linterOptions": {
"exclude": ["node_modules/**", "**/*.spec.ts", "**/*.js"]
},
"rules": {
"only-arrow-functions": false,
"ban-types": false,
"prefer-object-spread": false,
"no-console": false,
"no-submodule-imports": false,
"object-literal-sort-keys": false,
"ordered-imports": false,
"member-access": false,
"no-shadowed-variable": [true, { "import": false }],
"no-empty": [true, "allow-empty-functions"],
"no-implicit-dependencies": false,
"no-unused-expression": false,
"no-this-assignment": [true, { "allow-destructuring": true }],
"variable-name": false,
"max-classes-per-file": [true, 4, "exclude-class-expressions"],
"member-ordering": [true, { "order": "fields-first" }],
"forin": false,
"curly": [true, "ignore-same-line"],
"array-type": [true, "array-simple"],
"cognitive-complexity": { "severity": "warning" }
}
}