aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/tslint.json
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-12 14:08:48 +0100
committerChocobozzz <me@florianbigard.com>2017-12-12 14:08:48 +0100
commit4a7eeb62f1364678fff28fef4a83a0e9b640017c (patch)
treef4983d7d10b60d8c1bd815e9eab8178180aba863 /client/tslint.json
parentb682782093a22a729eea8862476ff1c8aac4ef0c (diff)
downloadPeerTube-4a7eeb62f1364678fff28fef4a83a0e9b640017c.tar.gz
PeerTube-4a7eeb62f1364678fff28fef4a83a0e9b640017c.tar.zst
PeerTube-4a7eeb62f1364678fff28fef4a83a0e9b640017c.zip
Improve lint
Diffstat (limited to 'client/tslint.json')
-rw-r--r--client/tslint.json11
1 files changed, 8 insertions, 3 deletions
diff --git a/client/tslint.json b/client/tslint.json
index 068fe596e..c1ca4336e 100644
--- a/client/tslint.json
+++ b/client/tslint.json
@@ -13,22 +13,27 @@
13 "variables-before-functions" 13 "variables-before-functions"
14 ], 14 ],
15 15
16 "angular-whitespace": [true, "check-interpolation", "check-semicolon"],
17 "banana-in-box": true,
18 "templates-no-negated-async": true,
16 "directive-selector": [true, "attribute", "my", "camelCase"], 19 "directive-selector": [true, "attribute", "my", "camelCase"],
17 "component-selector": [true, "element", "my", "kebab-case"], 20 "component-selector": [true, "element", "my", "kebab-case"],
18 "use-input-property-decorator": true, 21 "use-input-property-decorator": true,
19 "use-output-property-decorator": true, 22 "use-output-property-decorator": true,
20 "use-host-property-decorator": true, 23 "use-host-property-decorator": true,
24 "use-view-encapsulation": true,
21 "no-attribute-parameter-decorator": true, 25 "no-attribute-parameter-decorator": true,
22 "no-input-rename": true, 26 "no-input-rename": true,
23 "no-output-rename": true, 27 "no-output-rename": true,
28 "no-output-on-prefix": true,
24 "no-forward-ref": false, 29 "no-forward-ref": false,
25 "use-life-cycle-interface": true, 30 "use-life-cycle-interface": true,
31 "contextual-life-cycle": true,
32 "trackBy-function": false,
26 "use-pipe-transform-interface": true, 33 "use-pipe-transform-interface": true,
27 "pipe-naming": [true, "camelCase", "my"], 34 "pipe-naming": [true, "camelCase", "my"],
28 "component-class-suffix": true, 35 "component-class-suffix": true,
29 "directive-class-suffix": true, 36 "directive-class-suffix": true,
30 "templates-use-public": true, 37 "pipe-impure": true
31 "no-access-missing-member": false,
32 "invoke-injectable": true
33 } 38 }
34} 39}