aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
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}