]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/tslint.json
Automatically resize avatars
[github/Chocobozzz/PeerTube.git] / client / tslint.json
1 {
2 "extends": "tslint-config-standard",
3 "rulesDirectory": ["./node_modules/codelyzer"],
4 "rules": {
5 "no-inferrable-types": true,
6 "eofline": true,
7 "max-line-length": [true, 140],
8 "no-floating-promises": false,
9 "no-unused-variable": false, // Bug, wait TypeScript 2.4
10 "member-ordering": [true,
11 "public-before-private",
12 "static-before-instance",
13 "variables-before-functions"
14 ],
15
16 "angular-whitespace": [true, "check-interpolation", "check-semicolon"],
17 "banana-in-box": true,
18 "templates-no-negated-async": true,
19 "directive-selector": [true, "attribute", "my", "camelCase"],
20 "component-selector": [true, "element", "my", "kebab-case"],
21 "use-input-property-decorator": true,
22 "use-output-property-decorator": true,
23 "use-host-property-decorator": true,
24 "use-view-encapsulation": true,
25 "no-attribute-parameter-decorator": true,
26 "no-input-rename": true,
27 "no-output-rename": true,
28 "no-output-on-prefix": true,
29 "no-forward-ref": false,
30 "use-life-cycle-interface": true,
31 "contextual-life-cycle": true,
32 "trackBy-function": false,
33 "use-pipe-transform-interface": true,
34 "pipe-naming": [true, "camelCase", "my"],
35 "component-class-suffix": true,
36 "directive-class-suffix": true,
37 "pipe-impure": true
38 }
39 }