]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/tslint.json
Update codelyzer
[github/Chocobozzz/PeerTube.git] / client / tslint.json
1 {
2 "rulesDirectory": ["./node_modules/codelyzer"],
3 "rules": {
4 "class-name": true,
5 "curly": false,
6 "eofline": true,
7 "indent": ["spaces"],
8 "max-line-length": [true, 140],
9 "member-ordering": [true,
10 "public-before-private",
11 "static-before-instance",
12 "variables-before-functions"
13 ],
14 "no-arg": true,
15 "no-construct": true,
16 "no-duplicate-key": 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-unused-variable": true,
23 "no-unreachable": true,
24 "no-use-before-declare": true,
25 "one-line": [true,
26 "check-open-brace",
27 "check-catch",
28 "check-else",
29 "check-whitespace"
30 ],
31 "quotemark": [true, "single"],
32 "semicolon": true,
33 "trailing-comma": true,
34 "triple-equals": true,
35 "variable-name": false,
36
37 "directive-selector-name": [true, "camelCase"],
38 "component-selector-name": [true, "kebab-case"],
39 "directive-selector-type": [true, "attribute"],
40 "component-selector-type": [true, "element"],
41 "directive-selector-prefix": [true, "my"],
42 "component-selector-prefix": [true, "my"],
43 "use-input-property-decorator": true,
44 "use-output-property-decorator": true,
45 "use-host-property-decorator": 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
55 }
56 }