-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.yml
82 lines (80 loc) · 1.76 KB
/
tslint.yml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
extends:
- tslint:latest
- tslint-config-prettier
rules:
#
# override rules from tslint:recommended
#
interface-name:
- true
- never-prefix
member-access:
- true
- no-public
member-ordering: # order: "statics-first"
- true
- order:
- public-static-field
- private-static-field
- public-instance-field
- private-instance-field
- public-static-method
- private-static-method
- constructor
- public-instance-method
- private-instance-method
no-angle-bracket-type-assertion: false # true - use «<Type>» instead of «as Type» for casting
object-literal-sort-keys: false
quotemark:
- true
- single
- avoid-escape
triple-equals: # true - allow for != null check to catch null & undefined
- true
- allow-null-check
no-string-literal: false
no-empty: false
no-switch-case-fall-through: true
semicolon:
- true
- never
#
# override rules from tslint:latest
#
no-object-literal-type-assertion: false
no-submodule-imports:
- true
- "aws-sdk"
- "rxjs/operators"
- "@angular"
- "zone.js"
- "core-js"
- "fs/promises"
prefer-conditional-expression: false
no-implicit-dependencies:
- true
- dev
- ["aws-lambda"]
variable-name:
- true
- ban-keywords
- check-format
- allow-leading-underscore
#
# additional rules
#
no-inferrable-types:
- true
- ignore-params
no-non-null-assertion: true
no-unnecessary-callback-wrapper: true
no-unnecessary-type-assertion: true
# gives deprecated warning, but still necessary
no-unused-variable:
- true
- { "ignore-pattern": "^_" }
no-redundant-jsdoc: true
deprecation: false
import-blacklist:
- true
- rxjs/Rx