Skip to content

Commit 61f6e64

Browse files
committed
Create tslint.json
1 parent 42a6d28 commit 61f6e64

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

Diff for: tslint.json

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"defaultSeverity": "warning",
3+
"extends": [
4+
"tslint:recommended"
5+
],
6+
"linterOptions": {
7+
"exclude": [
8+
"node_modules/**"
9+
]
10+
},
11+
"rules": {
12+
"arrow-parens": false,
13+
"array-type": false,
14+
"indent": [true, "spaces", 2],
15+
"interface-name": false,
16+
"member-access": false,
17+
"member-ordering": false,
18+
"no-consecutive-blank-lines": true,
19+
"no-console": false,
20+
"no-duplicate-variable": true,
21+
"no-empty": false,
22+
"no-empty-interface": false,
23+
"no-namespace": [true, "allow-declarations"],
24+
"no-var-requires": false,
25+
"object-literal-sort-keys": false,
26+
"one-variable-per-declaration": [true, "ignore-for-loop"],
27+
"quotemark": [true, "single", "jsx-double"],
28+
"semicolon": [true, "always"],
29+
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
30+
"type-literal-delimiter": true,
31+
"variable-name": [true, "allow-leading-underscore"],
32+
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module"]
33+
}
34+
}

0 commit comments

Comments
 (0)