]>
Commit | Line | Data |
---|---|---|
1 | { | |
2 | "rulesDirectory": ["./node_modules/codelyzer"], | |
3 | "rules": { | |
4 | "class-name": true, | |
5 | "no-inferrable-types": true, | |
6 | "curly": false, | |
7 | "eofline": true, | |
8 | "indent": ["spaces"], | |
9 | "max-line-length": [true, 140], | |
10 | "member-ordering": [true, | |
11 | "public-before-private", | |
12 | "static-before-instance", | |
13 | "variables-before-functions" | |
14 | ], | |
15 | "no-arg": true, | |
16 | "no-construct": true, | |
17 | "no-duplicate-variable": true, | |
18 | "no-empty": true, | |
19 | "no-eval": true, | |
20 | "no-trailing-whitespace": true, | |
21 | "no-unused-expression": true, | |
22 | "no-use-before-declare": true, | |
23 | "one-line": [true, | |
24 | "check-open-brace", | |
25 | "check-catch", | |
26 | "check-else", | |
27 | "check-whitespace" | |
28 | ], | |
29 | "quotemark": [true, "single"], | |
30 | "semicolon": true, | |
31 | "trailing-comma": true, | |
32 | "triple-equals": true, | |
33 | "variable-name": false, | |
34 | ||
35 | "directive-selector": [true, "attribute", "my", "camelCase"], | |
36 | "component-selector": [true, "element", "my", "kebab-case"], | |
37 | "use-input-property-decorator": true, | |
38 | "use-output-property-decorator": true, | |
39 | "use-host-property-decorator": true, | |
40 | "no-attribute-parameter-decorator": true, | |
41 | "no-input-rename": true, | |
42 | "no-output-rename": true, | |
43 | "no-forward-ref": true, | |
44 | "use-life-cycle-interface": true, | |
45 | "use-pipe-transform-interface": true, | |
46 | "pipe-naming": [true, "camelCase", "my"], | |
47 | "component-class-suffix": true, | |
48 | "directive-class-suffix": true, | |
49 | "templates-use-public": true, | |
50 | "no-access-missing-member": true, | |
51 | "invoke-injectable": true, | |
52 | ||
53 | "typedef-whitespace": [ true, | |
54 | { | |
55 | "call-signature": "nospace", | |
56 | "index-signature": "nospace", | |
57 | "parameter": "nospace", | |
58 | "property-declaration": "nospace", | |
59 | "variable-declaration": "nospace" | |
60 | } | |
61 | ], | |
62 | "whitespace": [ true, | |
63 | "check-branch", | |
64 | "check-decl", | |
65 | "check-operator", | |
66 | "check-separator", | |
67 | "check-type" | |
68 | ] | |
69 | } | |
70 | } |