aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
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
parentf3567088cef90c37818eeb3a8d9eea036a635178 (diff)
downloadPeerTube-a563a494f010236ed530c494f152cb32606e94d0.tar.gz
PeerTube-a563a494f010236ed530c494f152cb32606e94d0.tar.zst
PeerTube-a563a494f010236ed530c494f152cb32606e94d0.zip
Update codelyzer
Diffstat (limited to 'client')
-rw-r--r--client/package.json2
-rw-r--r--client/tslint.json24
2 files changed, 18 insertions, 8 deletions
diff --git a/client/package.json b/client/package.json
index 0638acaac..db93ac681 100644
--- a/client/package.json
+++ b/client/package.json
@@ -36,7 +36,7 @@
36 "zone.js": "0.6.12" 36 "zone.js": "0.6.12"
37 }, 37 },
38 "devDependencies": { 38 "devDependencies": {
39 "codelyzer": "0.0.12", 39 "codelyzer": "0.0.18",
40 "tslint": "^3.7.4", 40 "tslint": "^3.7.4",
41 "typescript": "^1.8.10", 41 "typescript": "^1.8.10",
42 "typings": "^0.8.1" 42 "typings": "^0.8.1"
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}