aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/tslint.json
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-04-30 08:48:00 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-04-30 08:48:00 +0200
commita563a494f010236ed530c494f152cb32606e94d0 (patch)
treee65785ce1ed22f78281653b141f46e052d35276c /client/tslint.json
parentf3567088cef90c37818eeb3a8d9eea036a635178 (diff)
downloadPeerTube-a563a494f010236ed530c494f152cb32606e94d0.tar.gz
PeerTube-a563a494f010236ed530c494f152cb32606e94d0.tar.zst
PeerTube-a563a494f010236ed530c494f152cb32606e94d0.zip
Update codelyzer
Diffstat (limited to 'client/tslint.json')
-rw-r--r--client/tslint.json24
1 files changed, 17 insertions, 7 deletions
diff --git a/client/tslint.json b/client/tslint.json
index 6a40b5b11..8e4e3fca1 100644
--- a/client/tslint.json
+++ b/client/tslint.json
@@ -1,5 +1,5 @@
1{ 1{
2 "rulesDirectory": ["./node_modules/codelyzer/dist/src"], 2 "rulesDirectory": ["./node_modules/codelyzer"],
3 "rules": { 3 "rules": {
4 "class-name": true, 4 "class-name": true,
5 "curly": false, 5 "curly": false,
@@ -34,13 +34,23 @@
34 "triple-equals": true, 34 "triple-equals": true,
35 "variable-name": false, 35 "variable-name": false,
36 36
37 "directive-selector-name": [true, "camelCase"],
37 "component-selector-name": [true, "kebab-case"], 38 "component-selector-name": [true, "kebab-case"],
39 "directive-selector-type": [true, "attribute"],
38 "component-selector-type": [true, "element"], 40 "component-selector-type": [true, "element"],
39 "host-parameter-decorator": true, 41 "directive-selector-prefix": [true, "my"],
40 "input-parameter-decorator": true, 42 "component-selector-prefix": [true, "my"],
41 "output-parameter-decorator": true, 43 "use-input-property-decorator": true,
42 "attribute-parameter-decorator": true, 44 "use-output-property-decorator": true,
43 "input-property-directive": true, 45 "use-host-property-decorator": true,
44 "output-property-directive": true 46 "no-attribute-parameter-decorator": true,
47 "no-input-rename": true,
48 "no-output-rename": true,
49 "no-forward-ref" :true,
50 "use-life-cycle-interface": true,
51 "use-pipe-transform-interface": true,
52 "pipe-naming": [true, "camelCase", "my"],
53 "component-class-suffix": true,
54 "directive-class-suffix": true
45 } 55 }
46} 56}