diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:42:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-18 08:35:06 +0200 |
commit | 9df52d660feb722404be00a50f3c8a612bec1c15 (patch) | |
tree | dde52880fa012874d24c60f64eb596b0a789cc8b /client/tslint.json | |
parent | adb8809d43648ea0a64d6845bb39aa3bd0e005a6 (diff) | |
download | PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.gz PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.zst PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.zip |
Migrate client to eslint
Diffstat (limited to 'client/tslint.json')
-rw-r--r-- | client/tslint.json | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/client/tslint.json b/client/tslint.json deleted file mode 100644 index d9983182e..000000000 --- a/client/tslint.json +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | { | ||
2 | "extends": [ "tslint-angular", "tslint-config-standard" ], | ||
3 | "rules": { | ||
4 | "deprecation": { | ||
5 | "severity": "warning" | ||
6 | }, | ||
7 | "no-inferrable-types": true, | ||
8 | "eofline": true, | ||
9 | "max-line-length": [true, 140], | ||
10 | "no-floating-promises": false, // Memory issues | ||
11 | "await-promise": [true, "PromiseLike"], | ||
12 | "member-ordering": [true, { | ||
13 | "order": [ | ||
14 | "public-static-field", | ||
15 | "private-static-field", | ||
16 | "public-instance-field", | ||
17 | "private-instance-field", | ||
18 | "public-constructor", | ||
19 | "private-constructor", | ||
20 | "public-instance-method", | ||
21 | "protected-instance-method", | ||
22 | "private-instance-method" | ||
23 | ]} | ||
24 | ], | ||
25 | "variable-name": [ | ||
26 | true, | ||
27 | "ban-keywords", | ||
28 | "check-format", | ||
29 | "allow-leading-underscore", | ||
30 | "allow-pascal-case", | ||
31 | "allow-trailing-underscore" | ||
32 | ], | ||
33 | |||
34 | "no-shadowed-variable": false, | ||
35 | "no-bitwise": false, | ||
36 | "max-classes-per-file": false, | ||
37 | "interface-over-type-literal": false | ||
38 | } | ||
39 | } | ||