|
1 | 1 | { |
2 | 2 | "extends": "tslint:recommended", |
3 | 3 | "rules": { |
| 4 | + "align": { |
| 5 | + "options": [ |
| 6 | + "parameters", |
| 7 | + "statements" |
| 8 | + ] |
| 9 | + }, |
4 | 10 | "prettier": true, |
5 | 11 | "array-type": false, |
| 12 | + "arrow-return-shorthand": true, |
6 | 13 | "arrow-parens": false, |
7 | 14 | "deprecation": { |
8 | 15 | "severity": "warning" |
9 | 16 | }, |
10 | 17 | "component-class-suffix": true, |
| 18 | + "curly": true, |
11 | 19 | "contextual-lifecycle": true, |
12 | 20 | "directive-class-suffix": true, |
13 | | - "directive-selector": [true, "attribute", "app", "camelCase"], |
14 | | - "component-selector": [true, "element", "app", "kebab-case"], |
| 21 | + "directive-selector": [ |
| 22 | + true, |
| 23 | + "attribute", |
| 24 | + "app", |
| 25 | + "camelCase" |
| 26 | + ], |
| 27 | + "eofline": true, |
| 28 | + "component-selector": [ |
| 29 | + true, |
| 30 | + "element", |
| 31 | + "app", |
| 32 | + "kebab-case" |
| 33 | + ], |
| 34 | + "import-spacing": true, |
| 35 | + "indent": { |
| 36 | + "options": [ |
| 37 | + "spaces" |
| 38 | + ] |
| 39 | + }, |
15 | 40 | "import-blacklist": [true, "rxjs/Rx"], |
16 | 41 | "interface-name": false, |
17 | 42 | "max-classes-per-file": false, |
|
48 | 73 | "no-output-native": true, |
49 | 74 | "no-output-on-prefix": true, |
50 | 75 | "no-output-rename": true, |
| 76 | + "semicolon": { |
| 77 | + "options": [ |
| 78 | + "always" |
| 79 | + ] |
| 80 | + }, |
| 81 | + "space-before-function-paren": { |
| 82 | + "options": { |
| 83 | + "anonymous": "never", |
| 84 | + "asyncArrow": "always", |
| 85 | + "constructor": "never", |
| 86 | + "method": "never", |
| 87 | + "named": "never" |
| 88 | + } |
| 89 | + }, |
51 | 90 | "no-outputs-metadata-property": true, |
52 | 91 | "template-banana-in-box": true, |
53 | 92 | "template-no-negated-async": true, |
| 93 | + "typedef-whitespace": { |
| 94 | + "options": [ |
| 95 | + { |
| 96 | + "call-signature": "nospace", |
| 97 | + "index-signature": "nospace", |
| 98 | + "parameter": "nospace", |
| 99 | + "property-declaration": "nospace", |
| 100 | + "variable-declaration": "nospace" |
| 101 | + }, |
| 102 | + { |
| 103 | + "call-signature": "onespace", |
| 104 | + "index-signature": "onespace", |
| 105 | + "parameter": "onespace", |
| 106 | + "property-declaration": "onespace", |
| 107 | + "variable-declaration": "onespace" |
| 108 | + } |
| 109 | + ] |
| 110 | + }, |
54 | 111 | "use-lifecycle-interface": true, |
55 | | - "use-pipe-transform-interface": true |
| 112 | + "use-pipe-transform-interface": true, |
| 113 | + "variable-name": { |
| 114 | + "options": [ |
| 115 | + "ban-keywords", |
| 116 | + "check-format", |
| 117 | + "allow-pascal-case" |
| 118 | + ] |
| 119 | + }, |
| 120 | + "whitespace": { |
| 121 | + "options": [ |
| 122 | + "check-branch", |
| 123 | + "check-decl", |
| 124 | + "check-operator", |
| 125 | + "check-separator", |
| 126 | + "check-type", |
| 127 | + "check-typecast" |
| 128 | + ] |
| 129 | + } |
56 | 130 | }, |
57 | 131 | "rulesDirectory": [ |
58 | 132 | "codelyzer", |
|
0 commit comments