aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/tslint.json
diff options
context:
space:
mode:
Diffstat (limited to 'client/tslint.json')
-rw-r--r--client/tslint.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/client/tslint.json b/client/tslint.json
new file mode 100644
index 000000000..6a40b5b11
--- /dev/null
+++ b/client/tslint.json
@@ -0,0 +1,46 @@
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}