aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/tslint.json
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-02 18:30:26 +0200
committerChocobozzz <me@florianbigard.com>2019-04-02 18:30:26 +0200
commitc47106315ae3c403239cda29c49b4bba51ddccb2 (patch)
tree526d2f3ba284dde6bc8d83699c0a78e86d7860eb /client/tslint.json
parentf421fa06ada7bb01d91142cc8211a65e2b390d7b (diff)
downloadPeerTube-c47106315ae3c403239cda29c49b4bba51ddccb2.tar.gz
PeerTube-c47106315ae3c403239cda29c49b4bba51ddccb2.tar.zst
PeerTube-c47106315ae3c403239cda29c49b4bba51ddccb2.zip
tslint update
Diffstat (limited to 'client/tslint.json')
-rw-r--r--client/tslint.json30
1 files changed, 6 insertions, 24 deletions
diff --git a/client/tslint.json b/client/tslint.json
index fcc866ee3..f45b1d576 100644
--- a/client/tslint.json
+++ b/client/tslint.json
@@ -1,12 +1,12 @@
1{ 1{
2 "extends": "tslint-config-standard", 2 "extends": [ "tslint-angular", "tslint-config-standard" ],
3 "rulesDirectory": ["./node_modules/codelyzer"],
4 "rules": { 3 "rules": {
5 "no-inferrable-types": true, 4 "no-inferrable-types": true,
6 "eofline": true, 5 "eofline": true,
7 "max-line-length": [true, 140], 6 "max-line-length": [true, 140],
8 "no-floating-promises": false, 7 "no-floating-promises": false,
9 "no-unused-variable": false, // Memory issues 8 "no-unused-variable": false, // Memory issues
9 "await-promise": [true, "PromiseLike"],
10 "member-ordering": [true, { 10 "member-ordering": [true, {
11 "order": [ 11 "order": [
12 "public-static-field", 12 "public-static-field",
@@ -21,27 +21,9 @@
21 ]} 21 ]}
22 ], 22 ],
23 23
24 "angular-whitespace": [true, "check-interpolation", "check-semicolon"], 24 "no-shadowed-variable": false,
25 "banana-in-box": true, 25 "no-bitwise": false,
26 "templates-no-negated-async": true, 26 "max-classes-per-file": false,
27 "directive-selector": [true, "attribute", "my", "camelCase"], 27 "interface-over-type-literal": false
28 "component-selector": [true, "element", "my", "kebab-case"],
29 "use-input-property-decorator": true,
30 "use-output-property-decorator": true,
31 "use-host-property-decorator": true,
32 "use-view-encapsulation": true,
33 "no-attribute-parameter-decorator": true,
34 "no-input-rename": true,
35 "no-output-rename": true,
36 "no-output-on-prefix": true,
37 "no-forward-ref": false,
38 "use-life-cycle-interface": true,
39 "contextual-life-cycle": true,
40 "trackBy-function": false,
41 "use-pipe-transform-interface": true,
42 "pipe-prefix": [true, "my"],
43 "component-class-suffix": true,
44 "directive-class-suffix": true,
45 "pipe-impure": true
46 } 28 }
47} 29}