forked from allenhwkim/react-openlayers
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtslint.json
83 lines (83 loc) · 2.09 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
/**
* This starter project recommended using Microsoft TSLint rules.
* Please see https://github.com/Microsoft/tslint-microsoft-contrib for more details.
*/
{
"extends": [
"tslint:recommended",
"tslint-microsoft-contrib",
"tslint-config-prettier"
],
"defaultSeverity": "warning",
"linterOptions": {
"exclude": [
"bin",
"coverage",
"node_modules",
"build",
"config/**/*.js",
"src/**/*.js"
]
},
"rules": {
"no-null-keyword": false,
"no-increment-decrement": false,
"cyclomatic-complexity": false,
"use-simple-attributes": false,
"no-http-string": false,
"no-implicit-dependencies": false,
"no-backbone-get-set-outside-model": false,
"max-func-body-length": false,
"no-import-side-effect": false,
"no-any": true,
"no-non-null-assertion": false,
"no-submodule-imports": false,
"match-default-export-name": false,
"mocha-no-side-effect-code": false,
"missing-jsdoc": false,
"no-relative-imports": false,
"export-name": false,
"promise-function-async": false,
"no-void-expression": false,
"no-redundant-jsdoc": false,
"prefer-type-cast": false,
"curly": [true, "ignore-same-line"],
"no-reserved-keywords": false,
"interface-name": [
true,
"never-prefix"
],
"await-promise": [
true,
"Bluebird"
],
"completed-docs": false,
"variable-name": {
"options": [
"allow-leading-underscore",
"allow-pascal-case"
]
},
"import-name": false,
"no-default-export": false,
"strict-boolean-expressions": false,
"no-unsafe-any": false,
"function-name": [
true,
{
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"protected-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[A-Z][a-z_]+(?:[A-Z][a-z_]+)*$",
"function-regex": "^[a-z][\\w\\d]+$"
}
],
"typedef": [
true,
"parameter",
"arrow-parameter",
"property-declaration",
"member-variable-declaration"
]
}
}