forked from smapiot/piral
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
50 lines (50 loc) · 964 Bytes
/
tslint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"extends": [
"tslint-config-prettier"
],
"rulesDirectory": [
"tslint-plugin-prettier"
],
"rules": {
"prettier": true,
"prefer-for-of": true,
"curly": [
true,
"ignore-same-line"
],
"no-duplicate-variable": true,
"no-null-keyword": true,
"no-string-literal": true,
"no-var-keyword": true,
"radix": true,
"triple-equals": [
true,
"allow-undefined-check"
],
"array-type": [
true,
"generic"
],
"arrow-return-shorthand": true,
"no-consecutive-blank-lines": true,
"one-variable-per-declaration": [
true,
"ignore-for-loop"
],
"indent": [
true,
"spaces",
2
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
],
"no-eval": true,
"prefer-const": true,
"import-blacklist": [true, "styled-components"]
}
}