You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"max-line-length": [true, 240],
"interface-name": false,
"quotemark": [true, "single", "avoid-escape"],
"member-access": [true, "no-public"],
"no-string-literal": false,
"member-ordering": false,
"arrow-parens": [true, "ban-single-arg-parens"],
"one-line": false,
"trailing-comma": [true, {
"multiline": "never",
"singleline": "never"
}],
"object-literal-sort-keys": false,
"only-arrow-functions": false,
"no-empty": false,
"ban-types": {
"options": [
["Object", "Avoid using the `Object` type. Did you mean `object`?"],
["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"],
["Number", "Avoid using the `Number` type. Did you mean `number`?"],
["String", "Avoid using the `String` type. Did you mean `string`?"],
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"]
]
},
"max-classes-per-file": false,
"variable-name": false,
"ordered-imports": false,
"no-console": false,
"no-bitwise": false
},
"rulesDirectory": []
}
Bug Report
Reproduction using TSLint Playground
https://palantir.github.io/tslint-playground/?saved=N4Igxg9gJgpiBcID0SAEBlALgQwE6dUwE8AHASwDsBzVSwgCxlUllQCMIAPQiVKmAgGcc+GFAB0AHQqVMMXADNsYJgEEwmMhAqpg01AdQBtAOTLMAV2wAbALTC8mEwF14qChYC2beQB8l1oIwANzSAL7S0goWFBpaOgoQEAAU5vFu6praADSo2IKCXmLo8gBu8gAqZJ4wbh7e8rkA7ngkAGLmELh1Xj64AJS6+oaQFMKoMNbYJEFQqAC8qACy2Jj04p7YnMmpBUVQJbjluFU1qLaoADz1fQB8adqm5lZ2DvgugwBUqC247Z24XIABn6oQoEQoIGy4G0CjIVAQyDQAE0IBZmNgdJ5oGQFEQGExRnCqBZcKt4qhGLgmE0yGtUEQ0bhUBAmhQpBQUMtsABrJiFakMVYMpmoABWgm0tEEqFKNjIUFymLmuJF6NwMVoFEwEGkXIga3k0sKMEEuUwuHxYEYYB5lBohuY2kl1iYiWZ8lwXUEHOkeh0hkkIBgnDkFCggiDbiMQcwgmssng1Mgnhq4bEQec2WGBiDGtdkYQujCqC52Cgc3LUDp8RsqHzpry4YJZGZRPhpPJ2nC0hAYSAA
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
The
--fix
option produced the following code:but this is erroneous, there are missing parens. It should be:
Expected behavior
See above.
The text was updated successfully, but these errors were encountered: