diff options
author | BO41 <lukasw41@gmail.com> | 2018-10-16 01:04:50 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2018-10-16 01:04:50 +0200 |
commit | dffd5d127f49eb63d2b2b3133aec75ec1d7e4dcb (patch) | |
tree | 4c0f57248268e780804243dac46f8ae9bda96a94 /client/tslint.json | |
parent | 4fe98be6b421498577dc0bbcbe22c105408f394d (diff) | |
download | PeerTube-dffd5d127f49eb63d2b2b3133aec75ec1d7e4dcb.tar.gz PeerTube-dffd5d127f49eb63d2b2b3133aec75ec1d7e4dcb.tar.zst PeerTube-dffd5d127f49eb63d2b2b3133aec75ec1d7e4dcb.zip |
update tslint config and fix member ordering (#1279)
Diffstat (limited to 'client/tslint.json')
-rw-r--r-- | client/tslint.json | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/client/tslint.json b/client/tslint.json index e997088fd..fcc866ee3 100644 --- a/client/tslint.json +++ b/client/tslint.json | |||
@@ -7,10 +7,18 @@ | |||
7 | "max-line-length": [true, 140], | 7 | "max-line-length": [true, 140], |
8 | "no-floating-promises": false, | 8 | "no-floating-promises": false, |
9 | "no-unused-variable": false, // Memory issues | 9 | "no-unused-variable": false, // Memory issues |
10 | "member-ordering": [true, | 10 | "member-ordering": [true, { |
11 | "public-before-private", | 11 | "order": [ |
12 | "static-before-instance", | 12 | "public-static-field", |
13 | "variables-before-functions" | 13 | "private-static-field", |
14 | "public-instance-field", | ||
15 | "private-instance-field", | ||
16 | "public-constructor", | ||
17 | "private-constructor", | ||
18 | "public-instance-method", | ||
19 | "protected-instance-method", | ||
20 | "private-instance-method" | ||
21 | ]} | ||
14 | ], | 22 | ], |
15 | 23 | ||
16 | "angular-whitespace": [true, "check-interpolation", "check-semicolon"], | 24 | "angular-whitespace": [true, "check-interpolation", "check-semicolon"], |