Skip to content

Commit 4b9547e

Browse files
committed
updated tslint
1 parent 9ca3b90 commit 4b9547e

File tree

1 file changed

+22
-35
lines changed

1 file changed

+22
-35
lines changed

tslint.json

Lines changed: 22 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,30 @@
11
{
2+
"extends": ["tslint:latest"],
23
"rules": {
3-
// "class-name": true,
4-
"curly": false,
5-
"eofline": true,
6-
"indent": "spaces",
7-
"max-line-length": [true, 100],
8-
"member-ordering": [
4+
"quotemark": [true, "double"],
5+
"variable-name": [
96
true,
10-
"public-before-private",
11-
"static-before-instance",
12-
"variables-before-functions"
7+
"ban-keywords",
8+
"check-format",
9+
"allow-pascal-case",
10+
"allow-leading-underscore"
1311
],
14-
"no-arg": true,
15-
"no-construct": true,
16-
"no-duplicate-variable": true,
17-
"no-empty": false,
18-
"no-eval": true,
19-
"no-trailing-whitespace": true,
20-
"no-unused-expression": true,
21-
// "no-unused-variable": true,
22-
"no-use-before-declare": false,
23-
"one-line": [
12+
"no-submodule-imports": [true, "vscode"],
13+
"space-before-function-paren": [
2414
true,
25-
"check-open-brace",
26-
"check-catch",
27-
"check-else",
28-
"check-whitespace"
15+
{
16+
"anonymous": "always",
17+
"named": "never",
18+
"asyncArrow": "always",
19+
"method": "never",
20+
"constructor": "never"
21+
}
2922
],
30-
"quotemark": [true, "double"],
31-
"semicolon": true,
32-
"triple-equals": [true, "allow-null-check"],
33-
"variable-name": false,
34-
"whitespace": [
35-
true,
36-
"check-branch",
37-
"check-decl",
38-
"check-operator",
39-
"check-separator",
40-
"check-type"
41-
]
23+
"object-literal-sort-keys": false,
24+
"no-string-literal": false,
25+
"ordered-imports": [false],
26+
"arrow-parens": [true, "ban-single-arg-parens"],
27+
"no-console": [true, "log", "debug", "info", "warn"],
28+
"no-implicit-dependencies": [true, "dev"]
4229
}
4330
}

0 commit comments

Comments
 (0)