]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/tslint.json
Remove the include of ng2 bootstrap in the html index
[github/Chocobozzz/PeerTube.git] / client / tslint.json
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-key": true,
18 "no-duplicate-variable": true,
19 "no-empty": true,
20 "no-eval": true,
21 "no-trailing-whitespace": true,
22 "no-unused-expression": true,
23 "no-unused-variable": true,
24 "no-unreachable": true,
25 "no-use-before-declare": true,
26 "one-line": [true,
27 "check-open-brace",
28 "check-catch",
29 "check-else",
30 "check-whitespace"
31 ],
32 "quotemark": [true, "single"],
33 "semicolon": true,
34 "trailing-comma": true,
35 "triple-equals": true,
36 "variable-name": false,
37
38 "directive-selector-name": [true, "camelCase"],
39 "component-selector-name": [true, "kebab-case"],
40 "directive-selector-type": [true, "attribute"],
41 "component-selector-type": [true, "element"],
42 "directive-selector-prefix": [true, "my"],
43 "component-selector-prefix": [true, "my"],
44 "use-input-property-decorator": true,
45 "use-output-property-decorator": true,
46 "use-host-property-decorator": true,
47 "no-attribute-parameter-decorator": true,
48 "no-input-rename": true,
49 "no-output-rename": true,
50 "no-forward-ref" :true,
51 "use-life-cycle-interface": true,
52 "use-pipe-transform-interface": true,
53 "pipe-naming": [true, "camelCase", "my"],
54 "component-class-suffix": true,
55 "directive-class-suffix": true,
56
57 "typedef-whitespace": [ true,
58 {
59 "call-signature": "nospace",
60 "index-signature": "nospace",
61 "parameter": "nospace",
62 "property-declaration": "nospace",
63 "variable-declaration": "nospace"
64 }
65 ],
66 "whitespace": [ true,
67 "check-branch",
68 "check-decl",
69 "check-operator",
70 "check-separator",
71 "check-type"
72 ]
73 }
74 }