]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/tslint.json
Lazy description and previews to video form
[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 "directive-selector": [true, "attribute", "my", "camelCase"],
17 "component-selector": [true, "element", "my", "kebab-case"],
18 "use-input-property-decorator": true,
19 "use-output-property-decorator": true,
20 "use-host-property-decorator": true,
21 "no-attribute-parameter-decorator": true,
22 "no-input-rename": true,
23 "no-output-rename": true,
24 "no-forward-ref": false,
25 "use-life-cycle-interface": true,
26 "use-pipe-transform-interface": true,
27 "pipe-naming": [true, "camelCase", "my"],
28 "component-class-suffix": true,
29 "directive-class-suffix": true,
30 "templates-use-public": true,
31 "no-access-missing-member": false,
32 "invoke-injectable": true
33 }
34 }