-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
63 lines (63 loc) · 2.06 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
{
"defaultSeverity": "error",
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": [
"tslint:recommended", "tslint-react", "tslint-microsoft-contrib",
"tslint-plugin-prettier", "tslint-config-prettier"
],
"rules": {
"prettier": false,
"ordered-imports": [true, {
"import-sources-order": "any",
"named-imports-order": "case-insensitive"
}],
"whitespace": [
true, "check-branch", "check-decl", "check-operator", "check-module",
"check-preblock"
],
"indent": [true, "spaces", 2],
"no-reserved-keywords": false,
"no-consecutive-blank-lines": true,
"max-file-line-count": [true, 500],
"no-http-string": false,
"trailing-comma": [true, {"multiline": "", "singleline": "never"}],
"semi": ["error", "always"],
"no-backbone-get-set-outside-model": false,
"completed-docs": false,
"no-console": false,
"quotemark": [true, "single", "jsx-double"],
"object-literal-sort-keys": false,
"jsx-wrap-multiline": false,
"export-name": [false],
"variable-name": [true, "check-format", "allow-pascal-case", "allow-leading-underscore"],
"import-name": false,
"prefer-type-cast": false,
"arrow-parens": true,
"jsx-no-multiline-js": false,
"jsx-no-lambda": false,
"no-submodule-imports":false,
"no-any":false,
"no-unsafe-any":false,
"no-relative-imports":false,
"await-promise": true,
"use-simple-attributes":false,
"no-import-side-effect": [true, {"ignore-module": "(\\.html|\\.css|\\.scss)$"}],
"no-suspicious-comment": false,
"typedef": false,
"strict-boolean-expressions": false,
"no-implicit-dependencies": false,
"no-default-export": false,
"react-this-binding-issue": false,
"max-func-body-length": false,
"newline-per-chained-call": false,
"no-void-expression": false,
"prefer-array-literal": false,
"no-redundant-jsdoc": false,
"array-type": false,
"match-default-export-name": false,
"cyclomatic-complexity": false
},
"linterOptions": {
"exclude": ["node_modules", "server.js"]
}
}