|
4 | 4 | "codelyzer"
|
5 | 5 | ],
|
6 | 6 | "rules": {
|
| 7 | + "align": { |
| 8 | + "options": [ |
| 9 | + "parameters", |
| 10 | + "statements" |
| 11 | + ] |
| 12 | + }, |
7 | 13 | "array-type": false,
|
8 | 14 | "arrow-parens": false,
|
| 15 | + "arrow-return-shorthand": true, |
| 16 | + "curly": true, |
9 | 17 | "deprecation": {
|
10 | 18 | "severity": "warn"
|
11 | 19 | },
|
| 20 | + "eofline": true, |
12 | 21 | "import-blacklist": [
|
13 | 22 | true,
|
14 | 23 | "rxjs/Rx"
|
15 | 24 | ],
|
| 25 | + "import-spacing": true, |
| 26 | + "indent": { |
| 27 | + "options": [ |
| 28 | + "spaces" |
| 29 | + ] |
| 30 | + }, |
16 | 31 | "interface-name": false,
|
17 | 32 | "max-classes-per-file": false,
|
18 | 33 | "max-line-length": [
|
|
48 | 63 | "no-non-null-assertion": true,
|
49 | 64 | "no-redundant-jsdoc": true,
|
50 | 65 | "no-switch-case-fall-through": true,
|
51 |
| - "no-use-before-declare": true, |
52 | 66 | "no-var-requires": false,
|
53 | 67 | "object-literal-key-quotes": [
|
54 | 68 | true,
|
|
60 | 74 | true,
|
61 | 75 | "single"
|
62 | 76 | ],
|
| 77 | + "semicolon": { |
| 78 | + "options": [ |
| 79 | + "always" |
| 80 | + ] |
| 81 | + }, |
| 82 | + "space-before-function-paren": { |
| 83 | + "options": { |
| 84 | + "anonymous": "never", |
| 85 | + "asyncArrow": "always", |
| 86 | + "constructor": "never", |
| 87 | + "method": "never", |
| 88 | + "named": "never" |
| 89 | + } |
| 90 | + }, |
63 | 91 | "trailing-comma": false,
|
64 | 92 | "no-output-on-prefix": true,
|
65 | 93 | "no-inputs-metadata-property": true,
|
66 | 94 | "no-host-metadata-property": true,
|
67 | 95 | "no-input-rename": true,
|
68 | 96 | "no-output-rename": true,
|
| 97 | + "typedef-whitespace": { |
| 98 | + "options": [ |
| 99 | + { |
| 100 | + "call-signature": "nospace", |
| 101 | + "index-signature": "nospace", |
| 102 | + "parameter": "nospace", |
| 103 | + "property-declaration": "nospace", |
| 104 | + "variable-declaration": "nospace" |
| 105 | + }, |
| 106 | + { |
| 107 | + "call-signature": "onespace", |
| 108 | + "index-signature": "onespace", |
| 109 | + "parameter": "onespace", |
| 110 | + "property-declaration": "onespace", |
| 111 | + "variable-declaration": "onespace" |
| 112 | + } |
| 113 | + ] |
| 114 | + }, |
69 | 115 | "use-lifecycle-interface": true,
|
70 | 116 | "use-pipe-transform-interface": true,
|
71 | 117 | "one-variable-per-declaration": false,
|
|
84 | 130 | "page",
|
85 | 131 | "kebab-case"
|
86 | 132 | ]
|
87 |
| - } |
| 133 | + , "variable-name": { |
| 134 | + "options": [ |
| 135 | + "ban-keywords", |
| 136 | + "check-format", |
| 137 | + "allow-pascal-case" |
| 138 | + ] |
| 139 | + }, |
| 140 | + "whitespace": { |
| 141 | + "options": [ |
| 142 | + "check-branch", |
| 143 | + "check-decl", |
| 144 | + "check-operator", |
| 145 | + "check-separator", |
| 146 | + "check-type", |
| 147 | + "check-typecast" |
| 148 | + ] |
| 149 | + } |
| 150 | +} |
88 | 151 | }
|
0 commit comments