Skip to content

Commit 9b215f3

Browse files
author
Andy
authored
Extend from tslint:latest (microsoft#19309)
* Extend from tslint:latest * Move more rules to "not doing"
1 parent f4236ec commit 9b215f3

1 file changed

Lines changed: 52 additions & 1 deletion

File tree

tslint.json

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"extends": "tslint:latest",
23
"rulesDirectory": "built/local/tslint/rules",
34
"rules": {
45
"array-type": [true, "array"],
@@ -69,6 +70,56 @@
6970
"check-separator",
7071
"check-type"
7172
],
72-
"no-string-literal": true
73+
74+
// TODO
75+
"arrow-parens": false, // [true, "ban-single-arg-parens"]
76+
"arrow-return-shorthand": false,
77+
"ban-comma-operator": false,
78+
"ban-types": false,
79+
"callable-types": false,
80+
"forin": false,
81+
"member-access": false, // [true, "no-public"]
82+
"no-conditional-assignment": false,
83+
"no-console": false,
84+
"no-debugger": false,
85+
"no-empty": false,
86+
"no-empty-interface": false,
87+
"no-eval": false,
88+
"no-implicit-dependencies": false,
89+
"no-invalid-template-strings": false,
90+
"no-object-literal-type-assertion": false,
91+
"no-shadowed-variable": false,
92+
"no-submodule-imports": false,
93+
"no-this-assignment": false,
94+
"no-unused-expression": false,
95+
"no-unnecessary-initializer": false,
96+
"no-var-requires": false,
97+
"object-literal-key-quotes": false,
98+
"only-arrow-functions": false,
99+
"ordered-imports": false,
100+
"prefer-conditional-expression": false,
101+
"prefer-for-of": false,
102+
"radix": false,
103+
"space-before-function-paren": false,
104+
"trailing-comma": false,
105+
"unified-signatures": false,
106+
"variable-name": false,
107+
108+
// These should be done automatically by a formatter. https://github.com/Microsoft/TypeScript/issues/18340
109+
"align": false,
110+
"eofline": false,
111+
"max-line-length": false,
112+
"no-consecutive-blank-lines": false,
113+
114+
// Not doing
115+
"interface-name": false,
116+
"max-classes-per-file": false,
117+
"member-ordering": false,
118+
"no-angle-bracket-type-assertion": false,
119+
"no-bitwise": false,
120+
"no-namespace": false,
121+
"no-reference": false,
122+
"object-literal-sort-keys": false,
123+
"one-variable-per-declaration": false
73124
}
74125
}

0 commit comments

Comments
 (0)