[SDC-29] catalog 1707 rebase commit.
[sdc.git] / catalog-ui / tslint.json
1 {
2   "rulesDirectory": [
3     "node_modules/codelyzer"
4   ],
5   "rules": {
6     "callable-types": true,
7     "class-name": true,
8     "comment-format": [
9       true,
10       "check-space"
11     ],
12     "curly": true,
13     "eofline": true,
14     "forin": true,
15     "import-blacklist": [true, "rxjs"],
16     "import-spacing": true,
17     "indent": [
18       true,
19       "spaces"
20     ],
21     "interface-over-type-literal": true,
22     "label-position": true,
23     "max-line-length": [
24       true,
25       140
26     ],
27     "member-access": false,
28     "member-ordering": [
29       true,
30       "static-before-instance",
31       "variables-before-functions"
32     ],
33     "no-arg": true,
34     "no-bitwise": true,
35     "no-console": [
36       true,
37       "debug",
38       "info",
39       "time",
40       "timeEnd",
41       "trace"
42     ],
43     "no-construct": true,
44     "no-debugger": true,
45     "no-duplicate-variable": true,
46     "no-empty": false,
47     "no-empty-interface": true,
48     "no-eval": true,
49     "no-inferrable-types": true,
50     "no-shadowed-variable": true,
51     "no-string-literal": false,
52     "no-string-throw": true,
53     "no-switch-case-fall-through": true,
54     "no-trailing-whitespace": true,
55     "no-unused-expression": true,
56     "no-use-before-declare": true,
57     "no-var-keyword": true,
58     "object-literal-sort-keys": false,
59     "one-line": [
60       true,
61       "check-open-brace",
62       "check-catch",
63       "check-else",
64       "check-whitespace"
65     ],
66     "prefer-const": true,
67     "quotemark": [
68       true,
69       "single"
70     ],
71     "radix": true,
72     "semicolon": [
73       "always"
74     ],
75     "triple-equals": [
76       true,
77       "allow-null-check"
78     ],
79     "typedef-whitespace": [
80       true,
81       {
82         "call-signature": "nospace",
83         "index-signature": "nospace",
84         "parameter": "nospace",
85         "property-declaration": "nospace",
86         "variable-declaration": "nospace"
87       }
88     ],
89     "typeof-compare": true,
90     "unified-signatures": true,
91     "variable-name": false,
92     "whitespace": [
93       true,
94       "check-branch",
95       "check-decl",
96       "check-operator",
97       "check-separator",
98       "check-type"
99     ],
100
101     "directive-selector": [true, "attribute", "app", "camelCase"],
102     "component-selector": [true, "element", "app", "kebab-case"],
103     "use-input-property-decorator": true,
104     "use-output-property-decorator": true,
105     "use-host-property-decorator": true,
106     "no-input-rename": true,
107     "no-output-rename": true,
108     "use-life-cycle-interface": true,
109     "use-pipe-transform-interface": true,
110     "component-class-suffix": true,
111     "directive-class-suffix": true,
112     "no-access-missing-member": true,
113     "templates-use-public": true,
114     "invoke-injectable": true
115   }
116 }