diff options
Diffstat (limited to 'client/tslint.json')
-rw-r--r-- | client/tslint.json | 24 |
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 | } |