-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.yml
23 lines (23 loc) · 812 Bytes
/
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
extends:
- tslint:recommended
- tslint-config-prettier
rules:
curly: [true, ignore-same-line] # too strict
interface-name: false # too strict
max-line-length: false # prettier will handle it
member-access: [true, no-public] # public is implicit
member-ordering: false # static properties and methods before instance
no-conditional-assignment: false # we need it to read stream in loop
no-console: [true, log] # `console.log` is for temporary debugging only
no-namespace: false # be compatible with older versions of Typescript
typedef: # types are mandatory
- true
- call-signature
- parameter
- property-declaration
variable-name: # allow leading underscore
- true
- check-format
- allow-leading-underscore
- require-const-for-all-caps
- ban-keywords