aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/tslint.json
diff options
context:
space:
mode:
authorBO41 <lukasw41@gmail.com>2018-10-16 01:04:50 +0200
committerRigel Kent <par@rigelk.eu>2018-10-16 01:04:50 +0200
commitdffd5d127f49eb63d2b2b3133aec75ec1d7e4dcb (patch)
tree4c0f57248268e780804243dac46f8ae9bda96a94 /client/tslint.json
parent4fe98be6b421498577dc0bbcbe22c105408f394d (diff)
downloadPeerTube-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.json16
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"],