forked from indrimuska/angular-moment-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
89 lines (89 loc) · 2.63 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"extends": "tslint:latest",
"env": {
"browser": true
},
"globals": {
"angular": 1,
"moment": 1
},
"rules": {
"align": [true, "parameters"],
"array-type": [true, "array"],
"curly": false,
"eofline": false,
"indent": [true, "tabs"],
"interface-name": [true, "always-prefix"],
"linebreak-style": [false],
"max-line-length": [false],
"member-access": [true, "check-accessor"],
"member-ordering": [false],
"no-angle-bracket-type-assertion": false,
"no-any": true,
"no-arg": true,
"no-consecutive-blank-lines": [true],
"no-console": [true],
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-namespace": true,
"no-reference": true,
"no-string-literal": false,
"no-trailing-whitespace": false,
"no-unused-expression": true,
"no-unused-new": true,
"no-var-keyword": true,
"no-var-requires": false, // mandatory to allow webpack to grab HTML, CSS, LESS files
"object-literal-sort-keys": false,
"object-literal-shorthand": false,
"one-line": [true, "check-whitespace"],
"one-variable-per-declaration": [false],
"only-arrow-functions": [true],
"ordered-imports": [false],
"prefer-const": false,
"quotemark": [true, "single"],
"space-before-function-paren": ["error", {"anonymous": "always" }],
"switch-default": false,
"trailing-comma": [false],
"triple-equals": [false],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-type"]
},
"jsRules": {
"align": [true, "parameters"],
"array-type": [true, "array"],
"curly": false,
"eofline": false,
"indent": [true, "tabs"],
"interface-name": [true, "always-prefix"],
"linebreak-style": [false],
"max-line-length": [false],
"member-access": [true, "check-accessor"],
"member-ordering": [false],
"no-any": true,
"no-arg": true,
"no-consecutive-blank-lines": [true],
"no-console": [true],
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-namespace": true,
"no-reference": true,
"no-string-literal": false,
"no-trailing-whitespace": false,
"no-unused-expression": true,
"no-unused-new": true,
"no-var-keyword": false,
"no-var-requires": true,
"object-literal-sort-keys": false,
"object-literal-shorthand": false,
"one-line": [true, "check-whitespace"],
"one-variable-per-declaration": [false],
"only-arrow-functions": [false],
"ordered-imports": [false],
"quotemark": [true, "single"],
"switch-default": false,
"trailing-comma": [false],
"triple-equals": [false],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-type"]
}
}