6a40b5b1180619d809cb11d821458d8853d8409b
[oweals/peertube.git] / client / tslint.json
1 {
2   "rulesDirectory": ["./node_modules/codelyzer/dist/src"],
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     "component-selector-name": [true, "kebab-case"],
38     "component-selector-type": [true, "element"],
39     "host-parameter-decorator": true,
40     "input-parameter-decorator": true,
41     "output-parameter-decorator": true,
42     "attribute-parameter-decorator": true,
43     "input-property-directive": true,
44     "output-property-directive": true
45   }
46 }