Client: fix angular2-notifications dep...
[oweals/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-variable": true,
18     "no-empty": true,
19     "no-eval": true,
20     "no-trailing-whitespace": true,
21     "no-unused-expression": true,
22     "no-use-before-declare": true,
23     "one-line": [true,
24       "check-open-brace",
25       "check-catch",
26       "check-else",
27       "check-whitespace"
28     ],
29     "quotemark": [true, "single"],
30     "semicolon": true,
31     "trailing-comma": true,
32     "triple-equals": true,
33     "variable-name": false,
34
35     "directive-selector": [true, "attribute", "my", "camelCase"],
36     "component-selector": [true, "element", "my", "kebab-case"],
37     "use-input-property-decorator": true,
38     "use-output-property-decorator": true,
39     "use-host-property-decorator": true,
40     "no-attribute-parameter-decorator": true,
41     "no-input-rename": true,
42     "no-output-rename": true,
43     "no-forward-ref": true,
44     "use-life-cycle-interface": true,
45     "use-pipe-transform-interface": true,
46     "pipe-naming": [true, "camelCase", "my"],
47     "component-class-suffix": true,
48     "directive-class-suffix": true,
49     "import-destructuring-spacing": true,
50     "templates-use-public": true,
51     "no-access-missing-member": true,
52     "invoke-injectable": true,
53
54     "typedef-whitespace": [ true,
55       {
56         "call-signature": "nospace",
57         "index-signature": "nospace",
58         "parameter": "nospace",
59         "property-declaration": "nospace",
60         "variable-declaration": "nospace"
61       }
62     ],
63     "whitespace": [ true,
64       "check-branch",
65       "check-decl",
66       "check-operator",
67       "check-separator",
68       "check-type"
69     ]
70   }
71 }