Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
palantir/tslint (tslint)
### [`v6.1.3`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v613)
[Compare Source](https://togithub.com/palantir/tslint/compare/6.1.2...6.1.3)
- \[bugfix] add support for TypeScript 4.0 peer dependency ([#4943](https://togithub.com/palantir/tslint/issues/4943))
### [`v6.1.2`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v612)
[Compare Source](https://togithub.com/palantir/tslint/compare/6.1.1...6.1.2)
- \[bugfix] restore typings compatibility with TS < 3.8 ([#4933](https://togithub.com/palantir/tslint/issues/4933))
### [`v6.1.1`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v611)
[Compare Source](https://togithub.com/palantir/tslint/compare/6.1.0...6.1.1)
- \[bugfix] upgrade mkdirp dependency to `^0.5.3` ([#4918](https://togithub.com/palantir/tslint/issues/4918))
### [`v6.1.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v610)
[Compare Source](https://togithub.com/palantir/tslint/compare/6.0.0...6.1.0)
- \[enhancement] Upgrade to TypeScript 3.8, support new syntax ([#4915](https://togithub.com/palantir/tslint/issues/4915))
- \[docs][`no-object-literal-type-assertion`](https://palantir.github.io/tslint/rules/no-object-literal-type-assertion/) fix typo in rule description ([#4911](https://togithub.com/palantir/tslint/issues/4911))
Thanks to our contributors!
- Daniel Zwelling
- Ryan Delaney
### [`v6.0.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v600)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.20.1...6.0.0)
This version has been marked as deprecated on NPM to encourage users to migrate to ESLint.
- \[bugfix] fix `enforce-trailing-newline` option in [`file-header`](https://palantir.github.io/tslint/rules/file-header/) rule ([#4890](https://togithub.com/palantir/tslint/issues/4890))
- \[bugfix] avoid writing to temp files with `writeFileSync` on macOS 10.15 ([#4887](https://togithub.com/palantir/tslint/issues/4887))
- \[bugfix] fix crash in [`completed-docs`](https://palantir.github.io/tslint/rules/completed/) rule when tag contents are undefined ([#4895](https://togithub.com/palantir/tslint/issues/4895))
- \[docs] fix example code of Radix rule ([#4892](https://togithub.com/palantir/tslint/issues/4892))
- \[docs] Add missing colon after `[error]` in testing rules documentation ([#4903](https://togithub.com/palantir/tslint/issues/4903))
Thanks to our contributors!
- Ivan Sorokin
- Tanmoy Bhowmik
- Meng Wang
- Jay Bhagat
- Aman Sharma
- Josh Goldberg
### [`v5.20.1`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5201)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.20.0...5.20.1)
No changes from v5.20.0, just re-released to correctly mark with the `latest` dist-tag on NPM.
### [`v5.20.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5200)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.19.0...5.20.0)
- \[bugfix] fix [`strict-boolean-expressions`](https://palantir.github.io/tslint/rules/strict-boolean-expressions/) false positive with `"ignore-rhs"` option ([#4833](https://togithub.com/palantir/tslint/issues/4833))
- \[bugfix] fix [`no-unnecessary-type-assertion`](https://palantir.github.io/tslint/rules/no-unnecessary-type-assertion/) no error when `"strict": true` in compiler flags ([#4841](https://togithub.com/palantir/tslint/issues/4841))
- \[bugfix] "ignore" option for [`file-name-casing`](https://palantir.github.io/tslint/rules/file-name-casing/) rule works correctly ([#4848](https://togithub.com/palantir/tslint/issues/4848))
- \[bugfix] fix [`array-type`](https://palantir.github.io/tslint/rules/array-type/) false positive for simple parenthesized types with "array-simple" option ([#4844](https://togithub.com/palantir/tslint/issues/4844))
- \[new-rule-option][`object-literal-shorthand`](https://palantir.github.io/tslint/rules/object-literal-shorthand/) supports `{"property"?: "never", "method"?: "never"}` as config options ([#4842](https://togithub.com/palantir/tslint/issues/4842))
- \[new-rule-option]: `allow-generics` option for [`invalid-void`](https://palantir.github.io/tslint/rules/invalid-void) rule ([#4839](https://togithub.com/palantir/tslint/issues/4839))
- \[new-rule-option] `check-super-calls` option for [`unnecessary-constructor`](https://palantir.github.io/tslint/rules/unnecessary-constructor/) rule ([#4813](https://togithub.com/palantir/tslint/issues/4813))
- \[chore] Upgrade `diff` dependency to v4.0.1 ([#4845](https://togithub.com/palantir/tslint/issues/4845), [#4852](https://togithub.com/palantir/tslint/issues/4852))
Thanks to our contributors!
- Bas Bosman
- Tanmoy Bhowmik
- David Zulaica
- Maxime Kjaer
- [@guidsdo](https://togithub.com/guidsdo)
- Pavel Birukov
- Josh Goldberg
- Akshaya Srivatsa
### [`v5.19.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5190)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.18.0...5.19.0)
- \[bugfix] relax [`promise-function-async`](https://palantir.github.io/tslint/rules/promise-function-async/) for short parenthesized arrow functions ([#4765](https://togithub.com/palantir/tslint/issues/4765))
- \[bugfix] fix [`no-async-without-await`](https://palantir.github.io/tslint/rules/no-async-without-await/) false positive for abstract methods ([#4782](https://togithub.com/palantir/tslint/issues/4782))
- \[bugfix] fix [`strict-comparisons`](https://palantir.github.io/tslint/rules/strict-comparisons/) false positive for `null` and `undefined` literals ([#4786](https://togithub.com/palantir/tslint/issues/4786))
- \[bugfix] improve [`no-angle-bracket-type-assertion`](https://palantir.github.io/tslint/rules/no-angle-bracket-type-assertion/) autofix semantics with more parentheses ([#4823](https://togithub.com/palantir/tslint/issues/4823))
- \[enhancement] add BigInt support to [`restrict-plus-operands`](https://palantir.github.io/tslint/rules/restrict-plus-operands/) rule ([#4814](https://togithub.com/palantir/tslint/issues/4814))
- \[enhancement][`await-promise`](https://palantir.github.io/tslint/rules/await-promise/) now supports new TypeScript 3.6 AST API symbols for async iterators ([#4800](https://togithub.com/palantir/tslint/issues/4800))
- \[new-rule-option] `check-strings` and `check-regex` options for [`max-line-length`](https://palantir.github.io/tslint/rules/max-line-length/) rule ([#4798](https://togithub.com/palantir/tslint/issues/4798))
- \[new-rule-option] `variable-declaration-ignore-function` option for [`typedef`](https://palantir.github.io/tslint/rules/typedef/) rule ([#4769](https://togithub.com/palantir/tslint/issues/4769))
- \[new-rule-option] `ignore-blank-lines` option for [`object-literal-sort-keys`](https://palantir.github.io/tslint/rules/object-literal-sort-keys/) rule ([#4808](https://togithub.com/palantir/tslint/issues/4808))
- \[new-rule][`no-for-in`](https://palantir.github.io/tslint/rules/no-for-in/) ([#4747](https://togithub.com/palantir/tslint/issues/4747))
- \[new-rule][`invalid-void`](https://palantir.github.io/tslint/rules/invalid-void/) ([#4736](https://togithub.com/palantir/tslint/issues/4736))
- \[new-rule][`strict-string-expressions`](https://palantir.github.io/tslint/rules/strict-string-expressions/) reports errors on type coercions found in string expressions ([#4807](https://togithub.com/palantir/tslint/issues/4807))
- \[new-rule][`no-promise-as-boolean`](https://palantir.github.io/tslint/rules/no-promise-as-boolean/) ([#4790](https://togithub.com/palantir/tslint/issues/4790))
- \[docs] link to OSS fellowship medium post in README ([#4821](https://togithub.com/palantir/tslint/issues/4821))
Thanks to our contributors!
- Josh Pike
- Tanmoy Bhowmik
- Michael Withagen
- Evgeniy Timokhov
- Vitalij Krotov
- Josh Goldberg
- Veda
- Guido
- Robert Fink
- Max Sysoev
### [`v5.18.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5180)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.17.0...5.18.0)
- \[feature] New `--print-config` CLI flag ([#4744](https://togithub.com/palantir/tslint/issues/4744))
- \[bugfix][`no-unnecessary-type-assertion`](https://palantir.github.io/tslint/rules/no-unnecessary-type-assertion/) no longer flags `x!` non-null assertions if `--strictNullChecks` is not enabled ([#3724](https://togithub.com/palantir/tslint/issues/3724))
- \[bugfix][`quotemark`](https://palantir.github.io/tslint/rules/quotemark/) handles unbalanced quotes more gracefully without crashing ([#4344](https://togithub.com/palantir/tslint/issues/4344))
- \[docs] Add tslint-playground link to README and bug report template ([#4150](https://togithub.com/palantir/tslint/issues/4150))
- \[enhancement][`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers/) rule ignores arguments passed into default Number methods ([#3668](https://togithub.com/palantir/tslint/issues/3668))
- \[new-fixer][`comment-format`](https://palantir.github.io/tslint/rules/comment-format/) ([#3583](https://togithub.com/palantir/tslint/issues/3583))
- \[new-rule-option] `"allow-trailing-lowercase"` option for [`comment-format`](https://palantir.github.io/tslint/rules/comment-format/) rule ([#3583](https://togithub.com/palantir/tslint/issues/3583))
- \[new-rule-option] `"ignore-accessors"` for [`adjacent-overload-signatures`](https://palantir.github.io/tslint/rules/adjacent-overload-signatures/) to ignore getters / setters overloads ([#3718](https://togithub.com/palantir/tslint/issues/3718))
- \[new-rule][`no-async-without-await`](https://palantir.github.io/tslint/rules/no-async-without-await/) ([#3945](https://togithub.com/palantir/tslint/issues/3945))
- \[new-rule][`strict-comparisons`](https://palantir.github.io/tslint/rules/strict-comparisons/) ([#4519](https://togithub.com/palantir/tslint/issues/4519))
Thanks to our contributors!
- Josh Goldberg
- smoehrle
- Mateusz Witkowski
- Andy Hanson
- John Wiseheart
- Eran Shabi
- Tibor Blenessy
- AndreasGassmann
- Ryan Waskiewicz
- Isabelle
### [`v5.17.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5170)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.16.0...5.17.0)
- \[bugfix][`quotemark`](https://palantir.github.io/tslint/rules/quotemark/) backtic option now ignores enum members, use strict declarations, lookup types, and strings containing octal escape sequences. ([#4693](https://togithub.com/palantir/tslint/issues/4693))
- \[bugfix][`no-redundant-jsdoc`](https://palantir.github.io/tslint/rules/no-redundant-jsdoc/) no longer errors on `JSDocThisTag` ([#4690](https://togithub.com/palantir/tslint/issues/4690))
- \[chore] Update devDependency mocha from v3.2.0 to v6.1.4 ([#4669](https://togithub.com/palantir/tslint/issues/4669)) ([#4674](https://togithub.com/palantir/tslint/issues/4674))
- \[chore] Update devDependency js-yaml from ^3.13.0 to ^3.13.1 ([#4663](https://togithub.com/palantir/tslint/issues/4663))
- \[chore] Update deprecated devDependency github to [@octokit/rest](https://togithub.com/octokit/rest) ([#4673](https://togithub.com/palantir/tslint/issues/4673))
- \[chore] Update devDependency nyc from v13.3.0 to v14.1.1 ([#4699](https://togithub.com/palantir/tslint/issues/4699))
- \[deprecation][`no-use-before-declare`](https://palantir.github.io/tslint/rules/no-use-before-declare/) rule for typescript >= 2.9.0 ([#4695](https://togithub.com/palantir/tslint/issues/4695))
- \[documentation] Minor fix for [`variable-name`](https://palantir.github.io/tslint/rules/variable-name/) rule metadata ([#4731](https://togithub.com/palantir/tslint/issues/4731))
- \[documentation] Fixed [`no-unused-variable`](https://palantir.github.io/tslint/rules/no-unused-variable/) argument count ([#4683](https://togithub.com/palantir/tslint/issues/4683))
- \[enhancement] Allow const assertions in [`no-object-literal-type-assertion`](https://palantir.github.io/tslint/rules/no-object-literal-type-assertion/) ([#4681](https://togithub.com/palantir/tslint/issues/4681))
- \[new-fixer][`unnecessary-constructor`](https://palantir.github.io/tslint/rules/unnecessary-constructor/) ([#4694](https://togithub.com/palantir/tslint/issues/4694))
Thanks to our contributors!
- Bjorn Stromberg
- Vitaliy Agoshkov
- knafteN
- Bowen Ni
- Waseem Ahmad
- Åsmund Grammeltvedt
- Eric Ferreira
- Zhen Tian
- Tom Lakesman
- zachkirsch
### [`v5.16.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5160)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.15.0...5.16.0)
- \[bugfix] Excuse more [`quotemark`](https://palantir.github.io/tslint/rules/quotemark/) backtick edge cases and fix behavior for TS < 2.7.1 ([#4642](https://togithub.com/palantir/tslint/issues/4642))
- \[bugfix] Fix regression in [`interface-name`](https://palantir.github.io/tslint/rules/interface-name/) rule related to numeric characters in interface names ([#4655](https://togithub.com/palantir/tslint/issues/4655), [#4626](https://togithub.com/palantir/tslint/issues/4626))
- \[enhancement] Update `nyc` from v10.2.0 to v13.3.0 ([#4633](https://togithub.com/palantir/tslint/issues/4633))
- \[enhancement] Migrate from deprecated [babel-code-frame](https://www.npmjs.com/package/babel-code-frame) package to new [@babel/code-frame](https://www.npmjs.com/package/@babel/code-frame) package ([#4632](https://togithub.com/palantir/tslint/issues/4632))
- \[enhancement] Improve error message for [`restrict-plus-operands`](https://palantir.github.io/tslint/rules/restrict-plus-operands/) rule. ([#4635](https://togithub.com/palantir/tslint/issues/4635))
- \[enhancement][`comment-format`](https://palantir.github.io/tslint/rules/comment-format/) rule now whitelists `//region` comments generated by JetBrains IDE ([#4609](https://togithub.com/palantir/tslint/issues/4609))
- \[enhancement] Relax [`no-null-undefined-union`](https://palantir.github.io/tslint/rules/no-null-undefined-union/) rule. ([#4625](https://togithub.com/palantir/tslint/issues/4625))
- \[new-rule-option] `allow-else-if` option for [`unnecessary-else`](https://palantir.github.io/tslint/rules/unnecessary-else/) rule ([#4599](https://togithub.com/palantir/tslint/issues/4599))
- \[documentation] Fix "identifer" typo in custom rules docs ([#4657](https://togithub.com/palantir/tslint/issues/4657))
- \[documentation] Fix code example for [`switch-default`](https://palantir.github.io/tslint/rules/switch-default/) rule ([#4650](https://togithub.com/palantir/tslint/issues/4650))
- \[documentation] Fix documentation example for prose formatter ([#4656](https://togithub.com/palantir/tslint/issues/4656))
- \[documentation][`no-parameter-properties`](https://palantir.github.io/tslint/rules/no-parameter-properties/): fix unclear rule description ([#4629](https://togithub.com/palantir/tslint/issues/4629))
- \[documentation] Fix typo in rule docs generation ([#4638](https://togithub.com/palantir/tslint/issues/4638))
Thanks to our contributors!
- Oleg Artene
- William Neely
- Bjorn Stromberg
- Matthew Barry
- Neha Rathi
- Vincent Langlet
- rarenal
- Greg Jednaszewski
- Adam Postma
- Eric Ferreira
- Evgeniy Timokhov
- Martin Probst
### [`v5.15.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5150)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.14.0...5.15.0)
- \[api] `WalkContext` and `AbstractWalker` type parameter defaults to `void` ([#2600](https://togithub.com/palantir/tslint/issues/2600))
- \[bugfix][`no-void-expression`](https://palantir.github.io/tslint/rules/no-void-expression/) now allows conditional expressions ([#4606](https://togithub.com/palantir/tslint/issues/4606))
- \[bugfix] fix linebreak handling in [`ordered-imports`](https://palantir.github.io/tslint/rules/ordered-imports/) ([#4583](https://togithub.com/palantir/tslint/issues/4583))
- \[bugfix] fix [`static-this`](https://palantir.github.io/tslint/rules/static-this/) false positive for higher order components ([#4580](https://togithub.com/palantir/tslint/issues/4580))
- \[bugfix] Fixed crash in [`unnecessary-else`](https://palantir.github.io/tslint/rules/unnecessary-else/) from blank `if` statements ([#4603](https://togithub.com/palantir/tslint/issues/4603))
- \[bugfix] Fixed false positive in [`unnecessary-else`](https://palantir.github.io/tslint/rules/unnecessary-else/) after non-jumping statement ([#4603](https://togithub.com/palantir/tslint/issues/4603))
- \[bugfix][`interface-name`](https://palantir.github.io/tslint/rules/interface-name/) now handles interface starting with "I18n" correctly ([#4486](https://togithub.com/palantir/tslint/issues/4486))
- \[bugfix][`no-string-throw`](https://palantir.github.io/tslint/rules/no-string-throw/) fix inserts whitespace if not present after `throw` keyword ([#4540](https://togithub.com/palantir/tslint/issues/4540))
- \[bugfix][`quotemark`](https://palantir.github.io/tslint/rules/quotemark/): fix some edge cases for `backtick` option ([#4618](https://togithub.com/palantir/tslint/issues/4618))
- \[bugfix][`unnecessary-constructor`](https://palantir.github.io/tslint/rules/unnecessary-constructor/): don't flag non-private constructors that are actually necessary ([#4619](https://togithub.com/palantir/tslint/issues/4619))
- \[enhancement] Upgrade js-yaml to avoid security issue ([#4595](https://togithub.com/palantir/tslint/issues/4595))
- \[new-rule-option] `allow-single-line-comments` option for [`file-header`](https://palantir.github.io/tslint/rules/file-header/) rule ([#4560](https://togithub.com/palantir/tslint/issues/4560))
- \[new-rule-option] `ignore-rest-args` option for [`no-any`](https://palantir.github.io/tslint/rules/no-any/) rule ([#4581](https://togithub.com/palantir/tslint/issues/4581))
- \[new-rule][`no-null-undefined-union`](https://palantir.github.io/tslint/rules/no-null-undefined-union/) ([#4589](https://togithub.com/palantir/tslint/issues/4589))
Thanks to our contributors!
- Max Belsky
- Steve Moser
- Christian Flach
- Roman Rogowski
- Terry
- Luke
- Andy Hanson
- Vitalij Krotov
- Josh Goldberg
- Vincent Langlet
- Neha Rathi
- Eric Ferreira
### [`v5.14.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5140)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.13.1...5.14.0)
- \[bugfix] `backtick` option for [`quotemark`](https://palantir.github.io/tslint/rules/quotemark/) rule no longer incorrectly flags string literals that must use single/double quotes ([#4535](https://togithub.com/palantir/tslint/issues/4535))
- \[bugfix] Fixed regression in CheckstyleFormatter backwards compatibility ([#4561](https://togithub.com/palantir/tslint/issues/4561))
- \[bugfix][`whitespace`](https://palantir.github.io/tslint/rules/whitespace/) rule now lints export statements ([#4554](https://togithub.com/palantir/tslint/issues/4554))
- \[bugfix][`no-trailing-whitespace`](https://palantir.github.io/tslint/rules/no-trailing-whitespace/) no longer flags files starting with a byte order mark ([#4543](https://togithub.com/palantir/tslint/issues/4543))
- \[enhancement][`promise-function-async`](https://palantir.github.io/tslint/rules/promise-function-async/) now allows single statement lamda functions that delegate to another promise-returning function ([#4553](https://togithub.com/palantir/tslint/issues/4553))
- \[enhancement] Add note to docs about zero-indexing for machine formatters ([#4544](https://togithub.com/palantir/tslint/issues/4544))
- \[enhancement] Fix metadata of the [`whitespace`](https://palantir.github.io/tslint/rules/whitespace/) rule ([#4551](https://togithub.com/palantir/tslint/issues/4551))
- \[enhancement] Add junit output for files which are successfully linted ([#4566](https://togithub.com/palantir/tslint/issues/4566))
- \[new-rule-option] `underscore` option for [`no-shadowed-variable`](https://palantir.github.io/tslint/rules/no-shadowed-variable/) rule to ignore shadowed underscores ([#4546](https://togithub.com/palantir/tslint/issues/4546))
- \[new-rule-option] `require-const-for-all-caps` option for [`variable-name`](https://palantir.github.io/tslint/rules/variable-name/) rule ([#2936](https://togithub.com/palantir/tslint/issues/2936))
- \[new-rule-option] `overloads` option for [`completed-docs`](https://palantir.github.io/tslint/rules/completed-docs/) rule to enforce documentation of each overload signature ([#4563](https://togithub.com/palantir/tslint/issues/4563))
- \[new-rule-option] `allow-namespace-imports` option for [`no-duplicate-imports`](https://palantir.github.io/tslint/rules/no-duplicate-imports/) rule ([#4524](https://togithub.com/palantir/tslint/issues/4524))
- \[new-rule-option] `allow-arguments` option for [`no-object-literal-type-assertion`](https://palantir.github.io/tslint/rules/no-object-literal-type-assertion/) rule to allow type assertions on object literals used inside call expressions ([#4521](https://togithub.com/palantir/tslint/issues/4521))
- \[new-rule-option] `allow-delete` option for [`no-unbound-method`](https://palantir.github.io/tslint/rules/no-unbound-method/) rule ([#4548](https://togithub.com/palantir/tslint/issues/4548))
- \[new-rule][`no-tautology-expression`](https://palantir.github.io/tslint/rules/no-tautology-expression/) ([#4470](https://togithub.com/palantir/tslint/issues/4470))
- \[new-rule][`static-this`](https://palantir.github.io/tslint/rules/static-this/) ([#4475](https://togithub.com/palantir/tslint/issues/4475))
- \[new-rule][`unnecessary-else`](https://palantir.github.io/tslint/rules/unnecessary-else/) ([#4502](https://togithub.com/palantir/tslint/issues/4502))
Thanks to our contributors!
- Roman Rogowski
- Max Belsky
- Edward Drapkin
- Dominik Palo
- Matthew McCune
- Debsmita
- Lucas Charles
- Piotr Gajowniczek
- Darren Anderson
- Noam Yogev
- Josh Goldberg
- Karol Majewski
### [`v5.13.1`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5131)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.13.0...5.13.1)
- \[bugfix] Fix regression in CheckstyleFormatter backwards compatibility ([#4561](https://togithub.com/palantir/tslint/issues/4561))
### [`v5.13.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5130)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.12.1...5.13.0)
- \[deprecation] Mark `RuleWalker` and `ProgramAwareRuleWalker` as deprecated ([#4413](https://togithub.com/palantir/tslint/issues/4413))
- \[bugfix] Create output directory when the output path (specified by `--out` CLI flag) does not exist. ([#4507](https://togithub.com/palantir/tslint/issues/4507))
- \[bugfix] Explicit disabling of rules is now copied over to jsRules when using `jsRules: true` ([#4517](https://togithub.com/palantir/tslint/issues/4517))
- \[bugfix] `unknown` is recognized as simple type in [`array-type`](https://palantir.github.io/tslint/rules/array-type/) ([#4433](https://togithub.com/palantir/tslint/issues/4433))
- \[bugfix][`ban`](https://palantir.github.io/tslint/rules/ban/): Fix a false positive which would occur when banning method calls nested inside objects. Previously, banning `["a", "b", "c"]` would trigger lint failures on the syntax `b.c()`, which was not the intent of this rule. ([#4383](https://togithub.com/palantir/tslint/issues/4383))
- \[bugfix] Fixed single-line comment parsing for completed-docs ([#3557](https://togithub.com/palantir/tslint/issues/3557))
- \[bugfix][`trailing-comma`](https://palantir.github.io/tslint/rules/trailing-comma/) no longer crashes if it cannot find the closing parenthesis of a function declaration ([#4457](https://togithub.com/palantir/tslint/issues/4457))
- \[bugfix][`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/): allow implicitly downcasting `any` to `unknown` ([#4442](https://togithub.com/palantir/tslint/issues/4442))
- \[bugfix] Add `grouped-imports` to `tslint:all` ([#4420](https://togithub.com/palantir/tslint/issues/4420))
- \[docs] Fix docs typo ([#4395](https://togithub.com/palantir/tslint/issues/4395))
- \[enhancement] Add "formatting" rule category ([#2832](https://togithub.com/palantir/tslint/issues/2832))
- \[enhancement][`ordered-imports`](https://palantir.github.io/tslint/rules/ordered-imports/) now supports a groups option to provide custom grouping rules. ([#4134](https://togithub.com/palantir/tslint/issues/4134))
- \[enhancement] Convert [`completed-docs`](https://palantir.github.io/tslint/rules/completed-docs/) to an untyped rule ([#3557](https://togithub.com/palantir/tslint/issues/3557))
- \[enhancement] Checkstyle formatter includes every file linted regardless of lint errors. ([#3838](https://togithub.com/palantir/tslint/issues/3838))
- \[enhancement] Formatters now receive the full list of of linted file paths as a third argument. ([#3838](https://togithub.com/palantir/tslint/issues/3838))
- \[enhancement][`array-type`](https://palantir.github.io/tslint/rules/array-type/) rule handles Typescript 3.0's unknown type properly ([#4219](https://togithub.com/palantir/tslint/issues/4219))
- \[enhancement][`import-blacklist`](https://palantir.github.io/tslint/rules/import-blacklist/) now supports regular expression patterns for blacklisting ([#3504](https://togithub.com/palantir/tslint/issues/3504))
- \[new-rule] `no-restricted-globals` ([#3824](https://togithub.com/palantir/tslint/issues/3824))
- \[new-fixer] added fixer for `newline-before-return` rule ([#4482](https://togithub.com/palantir/tslint/issues/4482))
- \[new-fixer][`number-literal-format`](https://palantir.github.io/tslint/rules/number-literal-format/) now includes auto fix ([#4496](https://togithub.com/palantir/tslint/issues/4496))
- \[new-rule-option] Added `whitelist` option to [`no-unbound-method`](https://palantir.github.io/tslint/rules/no-unbound-method/) ([#4472](https://togithub.com/palantir/tslint/issues/4472))
- \[new-rule-option] Added `jsx-ignore` option to [`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers/) rule ([#4460](https://togithub.com/palantir/tslint/issues/4460))
- \[new-rule-option]: [`object-literal-sort-keys`](https://palantir.github.io/tslint/rules/object-literal-sort-keys/): Add `match-declaration-order-only` option ([#3748](https://togithub.com/palantir/tslint/issues/3748))
- \[new-rule-option][`strict-boolean-expressions`](https://palantir.github.io/tslint/rules/strict-boolean-expressions/) accepts `ignore-rhs` option to disable checking the right-hand side of the `&&` and `||` operators as strictly boolean. ([#4159](https://togithub.com/palantir/tslint/issues/4159))
Thanks to our contributors!
- Enes SOYLU
- jbsingh
- Sven Efftinge
- James C. Davis
- Norio Suzuki
- Thomas den Hollander
- Retsam
- Dobes Vandermeer
- Young Min Kim
- Grant Wu
- Felix Schindler
- Lydia
- Adrian Leonhard
- James Jensen
- Athene Noctua
- Allen
- Vincent Langlet
- Paul Medynski
- Liz
- Piotr Gajowniczek
- Max Sysoev
- Jakub Beneš
- Ian Mobley
- 周昊宇
- Nazanin Delam
- Matt R. Wilson
- Andy Hanson
- Zen
- Josh Goldberg
- Jeff Lau
### [`v5.12.1`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5121)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.12.0...5.12.1)
### [`v5.12.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5120)
[Compare Source](https://togithub.com/palantir/tslint/compare/5.11.0...5.12.0)
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^5.11.0
->^6.1.3
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
palantir/tslint (tslint)
### [`v6.1.3`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v613) [Compare Source](https://togithub.com/palantir/tslint/compare/6.1.2...6.1.3) - \[bugfix] add support for TypeScript 4.0 peer dependency ([#4943](https://togithub.com/palantir/tslint/issues/4943)) ### [`v6.1.2`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v612) [Compare Source](https://togithub.com/palantir/tslint/compare/6.1.1...6.1.2) - \[bugfix] restore typings compatibility with TS < 3.8 ([#4933](https://togithub.com/palantir/tslint/issues/4933)) ### [`v6.1.1`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v611) [Compare Source](https://togithub.com/palantir/tslint/compare/6.1.0...6.1.1) - \[bugfix] upgrade mkdirp dependency to `^0.5.3` ([#4918](https://togithub.com/palantir/tslint/issues/4918)) ### [`v6.1.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v610) [Compare Source](https://togithub.com/palantir/tslint/compare/6.0.0...6.1.0) - \[enhancement] Upgrade to TypeScript 3.8, support new syntax ([#4915](https://togithub.com/palantir/tslint/issues/4915)) - \[docs][`no-object-literal-type-assertion`](https://palantir.github.io/tslint/rules/no-object-literal-type-assertion/) fix typo in rule description ([#4911](https://togithub.com/palantir/tslint/issues/4911)) Thanks to our contributors! - Daniel Zwelling - Ryan Delaney ### [`v6.0.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v600) [Compare Source](https://togithub.com/palantir/tslint/compare/5.20.1...6.0.0) This version has been marked as deprecated on NPM to encourage users to migrate to ESLint. - \[bugfix] fix `enforce-trailing-newline` option in [`file-header`](https://palantir.github.io/tslint/rules/file-header/) rule ([#4890](https://togithub.com/palantir/tslint/issues/4890)) - \[bugfix] avoid writing to temp files with `writeFileSync` on macOS 10.15 ([#4887](https://togithub.com/palantir/tslint/issues/4887)) - \[bugfix] fix crash in [`completed-docs`](https://palantir.github.io/tslint/rules/completed/) rule when tag contents are undefined ([#4895](https://togithub.com/palantir/tslint/issues/4895)) - \[docs] fix example code of Radix rule ([#4892](https://togithub.com/palantir/tslint/issues/4892)) - \[docs] Add missing colon after `[error]` in testing rules documentation ([#4903](https://togithub.com/palantir/tslint/issues/4903)) Thanks to our contributors! - Ivan Sorokin - Tanmoy Bhowmik - Meng Wang - Jay Bhagat - Aman Sharma - Josh Goldberg ### [`v5.20.1`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5201) [Compare Source](https://togithub.com/palantir/tslint/compare/5.20.0...5.20.1) No changes from v5.20.0, just re-released to correctly mark with the `latest` dist-tag on NPM. ### [`v5.20.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5200) [Compare Source](https://togithub.com/palantir/tslint/compare/5.19.0...5.20.0) - \[bugfix] fix [`strict-boolean-expressions`](https://palantir.github.io/tslint/rules/strict-boolean-expressions/) false positive with `"ignore-rhs"` option ([#4833](https://togithub.com/palantir/tslint/issues/4833)) - \[bugfix] fix [`no-unnecessary-type-assertion`](https://palantir.github.io/tslint/rules/no-unnecessary-type-assertion/) no error when `"strict": true` in compiler flags ([#4841](https://togithub.com/palantir/tslint/issues/4841)) - \[bugfix] "ignore" option for [`file-name-casing`](https://palantir.github.io/tslint/rules/file-name-casing/) rule works correctly ([#4848](https://togithub.com/palantir/tslint/issues/4848)) - \[bugfix] fix [`array-type`](https://palantir.github.io/tslint/rules/array-type/) false positive for simple parenthesized types with "array-simple" option ([#4844](https://togithub.com/palantir/tslint/issues/4844)) - \[new-rule-option][`object-literal-shorthand`](https://palantir.github.io/tslint/rules/object-literal-shorthand/) supports `{"property"?: "never", "method"?: "never"}` as config options ([#4842](https://togithub.com/palantir/tslint/issues/4842)) - \[new-rule-option]: `allow-generics` option for [`invalid-void`](https://palantir.github.io/tslint/rules/invalid-void) rule ([#4839](https://togithub.com/palantir/tslint/issues/4839)) - \[new-rule-option] `check-super-calls` option for [`unnecessary-constructor`](https://palantir.github.io/tslint/rules/unnecessary-constructor/) rule ([#4813](https://togithub.com/palantir/tslint/issues/4813)) - \[chore] Upgrade `diff` dependency to v4.0.1 ([#4845](https://togithub.com/palantir/tslint/issues/4845), [#4852](https://togithub.com/palantir/tslint/issues/4852)) Thanks to our contributors! - Bas Bosman - Tanmoy Bhowmik - David Zulaica - Maxime Kjaer - [@guidsdo](https://togithub.com/guidsdo) - Pavel Birukov - Josh Goldberg - Akshaya Srivatsa ### [`v5.19.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5190) [Compare Source](https://togithub.com/palantir/tslint/compare/5.18.0...5.19.0) - \[bugfix] relax [`promise-function-async`](https://palantir.github.io/tslint/rules/promise-function-async/) for short parenthesized arrow functions ([#4765](https://togithub.com/palantir/tslint/issues/4765)) - \[bugfix] fix [`no-async-without-await`](https://palantir.github.io/tslint/rules/no-async-without-await/) false positive for abstract methods ([#4782](https://togithub.com/palantir/tslint/issues/4782)) - \[bugfix] fix [`strict-comparisons`](https://palantir.github.io/tslint/rules/strict-comparisons/) false positive for `null` and `undefined` literals ([#4786](https://togithub.com/palantir/tslint/issues/4786)) - \[bugfix] improve [`no-angle-bracket-type-assertion`](https://palantir.github.io/tslint/rules/no-angle-bracket-type-assertion/) autofix semantics with more parentheses ([#4823](https://togithub.com/palantir/tslint/issues/4823)) - \[enhancement] add BigInt support to [`restrict-plus-operands`](https://palantir.github.io/tslint/rules/restrict-plus-operands/) rule ([#4814](https://togithub.com/palantir/tslint/issues/4814)) - \[enhancement][`await-promise`](https://palantir.github.io/tslint/rules/await-promise/) now supports new TypeScript 3.6 AST API symbols for async iterators ([#4800](https://togithub.com/palantir/tslint/issues/4800)) - \[new-rule-option] `check-strings` and `check-regex` options for [`max-line-length`](https://palantir.github.io/tslint/rules/max-line-length/) rule ([#4798](https://togithub.com/palantir/tslint/issues/4798)) - \[new-rule-option] `variable-declaration-ignore-function` option for [`typedef`](https://palantir.github.io/tslint/rules/typedef/) rule ([#4769](https://togithub.com/palantir/tslint/issues/4769)) - \[new-rule-option] `ignore-blank-lines` option for [`object-literal-sort-keys`](https://palantir.github.io/tslint/rules/object-literal-sort-keys/) rule ([#4808](https://togithub.com/palantir/tslint/issues/4808)) - \[new-rule][`no-for-in`](https://palantir.github.io/tslint/rules/no-for-in/) ([#4747](https://togithub.com/palantir/tslint/issues/4747)) - \[new-rule][`invalid-void`](https://palantir.github.io/tslint/rules/invalid-void/) ([#4736](https://togithub.com/palantir/tslint/issues/4736)) - \[new-rule][`strict-string-expressions`](https://palantir.github.io/tslint/rules/strict-string-expressions/) reports errors on type coercions found in string expressions ([#4807](https://togithub.com/palantir/tslint/issues/4807)) - \[new-rule][`no-promise-as-boolean`](https://palantir.github.io/tslint/rules/no-promise-as-boolean/) ([#4790](https://togithub.com/palantir/tslint/issues/4790)) - \[docs] link to OSS fellowship medium post in README ([#4821](https://togithub.com/palantir/tslint/issues/4821)) Thanks to our contributors! - Josh Pike - Tanmoy Bhowmik - Michael Withagen - Evgeniy Timokhov - Vitalij Krotov - Josh Goldberg - Veda - Guido - Robert Fink - Max Sysoev ### [`v5.18.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5180) [Compare Source](https://togithub.com/palantir/tslint/compare/5.17.0...5.18.0) - \[feature] New `--print-config` CLI flag ([#4744](https://togithub.com/palantir/tslint/issues/4744)) - \[bugfix][`no-unnecessary-type-assertion`](https://palantir.github.io/tslint/rules/no-unnecessary-type-assertion/) no longer flags `x!` non-null assertions if `--strictNullChecks` is not enabled ([#3724](https://togithub.com/palantir/tslint/issues/3724)) - \[bugfix][`quotemark`](https://palantir.github.io/tslint/rules/quotemark/) handles unbalanced quotes more gracefully without crashing ([#4344](https://togithub.com/palantir/tslint/issues/4344)) - \[docs] Add tslint-playground link to README and bug report template ([#4150](https://togithub.com/palantir/tslint/issues/4150)) - \[enhancement][`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers/) rule ignores arguments passed into default Number methods ([#3668](https://togithub.com/palantir/tslint/issues/3668)) - \[new-fixer][`comment-format`](https://palantir.github.io/tslint/rules/comment-format/) ([#3583](https://togithub.com/palantir/tslint/issues/3583)) - \[new-rule-option] `"allow-trailing-lowercase"` option for [`comment-format`](https://palantir.github.io/tslint/rules/comment-format/) rule ([#3583](https://togithub.com/palantir/tslint/issues/3583)) - \[new-rule-option] `"ignore-accessors"` for [`adjacent-overload-signatures`](https://palantir.github.io/tslint/rules/adjacent-overload-signatures/) to ignore getters / setters overloads ([#3718](https://togithub.com/palantir/tslint/issues/3718)) - \[new-rule][`no-async-without-await`](https://palantir.github.io/tslint/rules/no-async-without-await/) ([#3945](https://togithub.com/palantir/tslint/issues/3945)) - \[new-rule][`strict-comparisons`](https://palantir.github.io/tslint/rules/strict-comparisons/) ([#4519](https://togithub.com/palantir/tslint/issues/4519)) Thanks to our contributors! - Josh Goldberg - smoehrle - Mateusz Witkowski - Andy Hanson - John Wiseheart - Eran Shabi - Tibor Blenessy - AndreasGassmann - Ryan Waskiewicz - Isabelle ### [`v5.17.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5170) [Compare Source](https://togithub.com/palantir/tslint/compare/5.16.0...5.17.0) - \[bugfix][`quotemark`](https://palantir.github.io/tslint/rules/quotemark/) backtic option now ignores enum members, use strict declarations, lookup types, and strings containing octal escape sequences. ([#4693](https://togithub.com/palantir/tslint/issues/4693)) - \[bugfix][`no-redundant-jsdoc`](https://palantir.github.io/tslint/rules/no-redundant-jsdoc/) no longer errors on `JSDocThisTag` ([#4690](https://togithub.com/palantir/tslint/issues/4690)) - \[chore] Update devDependency mocha from v3.2.0 to v6.1.4 ([#4669](https://togithub.com/palantir/tslint/issues/4669)) ([#4674](https://togithub.com/palantir/tslint/issues/4674)) - \[chore] Update devDependency js-yaml from ^3.13.0 to ^3.13.1 ([#4663](https://togithub.com/palantir/tslint/issues/4663)) - \[chore] Update deprecated devDependency github to [@octokit/rest](https://togithub.com/octokit/rest) ([#4673](https://togithub.com/palantir/tslint/issues/4673)) - \[chore] Update devDependency nyc from v13.3.0 to v14.1.1 ([#4699](https://togithub.com/palantir/tslint/issues/4699)) - \[deprecation][`no-use-before-declare`](https://palantir.github.io/tslint/rules/no-use-before-declare/) rule for typescript >= 2.9.0 ([#4695](https://togithub.com/palantir/tslint/issues/4695)) - \[documentation] Minor fix for [`variable-name`](https://palantir.github.io/tslint/rules/variable-name/) rule metadata ([#4731](https://togithub.com/palantir/tslint/issues/4731)) - \[documentation] Fixed [`no-unused-variable`](https://palantir.github.io/tslint/rules/no-unused-variable/) argument count ([#4683](https://togithub.com/palantir/tslint/issues/4683)) - \[enhancement] Allow const assertions in [`no-object-literal-type-assertion`](https://palantir.github.io/tslint/rules/no-object-literal-type-assertion/) ([#4681](https://togithub.com/palantir/tslint/issues/4681)) - \[new-fixer][`unnecessary-constructor`](https://palantir.github.io/tslint/rules/unnecessary-constructor/) ([#4694](https://togithub.com/palantir/tslint/issues/4694)) Thanks to our contributors! - Bjorn Stromberg - Vitaliy Agoshkov - knafteN - Bowen Ni - Waseem Ahmad - Åsmund Grammeltvedt - Eric Ferreira - Zhen Tian - Tom Lakesman - zachkirsch ### [`v5.16.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5160) [Compare Source](https://togithub.com/palantir/tslint/compare/5.15.0...5.16.0) - \[bugfix] Excuse more [`quotemark`](https://palantir.github.io/tslint/rules/quotemark/) backtick edge cases and fix behavior for TS < 2.7.1 ([#4642](https://togithub.com/palantir/tslint/issues/4642)) - \[bugfix] Fix regression in [`interface-name`](https://palantir.github.io/tslint/rules/interface-name/) rule related to numeric characters in interface names ([#4655](https://togithub.com/palantir/tslint/issues/4655), [#4626](https://togithub.com/palantir/tslint/issues/4626)) - \[enhancement] Update `nyc` from v10.2.0 to v13.3.0 ([#4633](https://togithub.com/palantir/tslint/issues/4633)) - \[enhancement] Migrate from deprecated [babel-code-frame](https://www.npmjs.com/package/babel-code-frame) package to new [@babel/code-frame](https://www.npmjs.com/package/@babel/code-frame) package ([#4632](https://togithub.com/palantir/tslint/issues/4632)) - \[enhancement] Improve error message for [`restrict-plus-operands`](https://palantir.github.io/tslint/rules/restrict-plus-operands/) rule. ([#4635](https://togithub.com/palantir/tslint/issues/4635)) - \[enhancement][`comment-format`](https://palantir.github.io/tslint/rules/comment-format/) rule now whitelists `//region` comments generated by JetBrains IDE ([#4609](https://togithub.com/palantir/tslint/issues/4609)) - \[enhancement] Relax [`no-null-undefined-union`](https://palantir.github.io/tslint/rules/no-null-undefined-union/) rule. ([#4625](https://togithub.com/palantir/tslint/issues/4625)) - \[new-rule-option] `allow-else-if` option for [`unnecessary-else`](https://palantir.github.io/tslint/rules/unnecessary-else/) rule ([#4599](https://togithub.com/palantir/tslint/issues/4599)) - \[documentation] Fix "identifer" typo in custom rules docs ([#4657](https://togithub.com/palantir/tslint/issues/4657)) - \[documentation] Fix code example for [`switch-default`](https://palantir.github.io/tslint/rules/switch-default/) rule ([#4650](https://togithub.com/palantir/tslint/issues/4650)) - \[documentation] Fix documentation example for prose formatter ([#4656](https://togithub.com/palantir/tslint/issues/4656)) - \[documentation][`no-parameter-properties`](https://palantir.github.io/tslint/rules/no-parameter-properties/): fix unclear rule description ([#4629](https://togithub.com/palantir/tslint/issues/4629)) - \[documentation] Fix typo in rule docs generation ([#4638](https://togithub.com/palantir/tslint/issues/4638)) Thanks to our contributors! - Oleg Artene - William Neely - Bjorn Stromberg - Matthew Barry - Neha Rathi - Vincent Langlet - rarenal - Greg Jednaszewski - Adam Postma - Eric Ferreira - Evgeniy Timokhov - Martin Probst ### [`v5.15.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5150) [Compare Source](https://togithub.com/palantir/tslint/compare/5.14.0...5.15.0) - \[api] `WalkContext` and `AbstractWalker` type parameter defaults to `void` ([#2600](https://togithub.com/palantir/tslint/issues/2600)) - \[bugfix][`no-void-expression`](https://palantir.github.io/tslint/rules/no-void-expression/) now allows conditional expressions ([#4606](https://togithub.com/palantir/tslint/issues/4606)) - \[bugfix] fix linebreak handling in [`ordered-imports`](https://palantir.github.io/tslint/rules/ordered-imports/) ([#4583](https://togithub.com/palantir/tslint/issues/4583)) - \[bugfix] fix [`static-this`](https://palantir.github.io/tslint/rules/static-this/) false positive for higher order components ([#4580](https://togithub.com/palantir/tslint/issues/4580)) - \[bugfix] Fixed crash in [`unnecessary-else`](https://palantir.github.io/tslint/rules/unnecessary-else/) from blank `if` statements ([#4603](https://togithub.com/palantir/tslint/issues/4603)) - \[bugfix] Fixed false positive in [`unnecessary-else`](https://palantir.github.io/tslint/rules/unnecessary-else/) after non-jumping statement ([#4603](https://togithub.com/palantir/tslint/issues/4603)) - \[bugfix][`interface-name`](https://palantir.github.io/tslint/rules/interface-name/) now handles interface starting with "I18n" correctly ([#4486](https://togithub.com/palantir/tslint/issues/4486)) - \[bugfix][`no-string-throw`](https://palantir.github.io/tslint/rules/no-string-throw/) fix inserts whitespace if not present after `throw` keyword ([#4540](https://togithub.com/palantir/tslint/issues/4540)) - \[bugfix][`quotemark`](https://palantir.github.io/tslint/rules/quotemark/): fix some edge cases for `backtick` option ([#4618](https://togithub.com/palantir/tslint/issues/4618)) - \[bugfix][`unnecessary-constructor`](https://palantir.github.io/tslint/rules/unnecessary-constructor/): don't flag non-private constructors that are actually necessary ([#4619](https://togithub.com/palantir/tslint/issues/4619)) - \[enhancement] Upgrade js-yaml to avoid security issue ([#4595](https://togithub.com/palantir/tslint/issues/4595)) - \[new-rule-option] `allow-single-line-comments` option for [`file-header`](https://palantir.github.io/tslint/rules/file-header/) rule ([#4560](https://togithub.com/palantir/tslint/issues/4560)) - \[new-rule-option] `ignore-rest-args` option for [`no-any`](https://palantir.github.io/tslint/rules/no-any/) rule ([#4581](https://togithub.com/palantir/tslint/issues/4581)) - \[new-rule][`no-null-undefined-union`](https://palantir.github.io/tslint/rules/no-null-undefined-union/) ([#4589](https://togithub.com/palantir/tslint/issues/4589)) Thanks to our contributors! - Max Belsky - Steve Moser - Christian Flach - Roman Rogowski - Terry - Luke - Andy Hanson - Vitalij Krotov - Josh Goldberg - Vincent Langlet - Neha Rathi - Eric Ferreira ### [`v5.14.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5140) [Compare Source](https://togithub.com/palantir/tslint/compare/5.13.1...5.14.0) - \[bugfix] `backtick` option for [`quotemark`](https://palantir.github.io/tslint/rules/quotemark/) rule no longer incorrectly flags string literals that must use single/double quotes ([#4535](https://togithub.com/palantir/tslint/issues/4535)) - \[bugfix] Fixed regression in CheckstyleFormatter backwards compatibility ([#4561](https://togithub.com/palantir/tslint/issues/4561)) - \[bugfix][`whitespace`](https://palantir.github.io/tslint/rules/whitespace/) rule now lints export statements ([#4554](https://togithub.com/palantir/tslint/issues/4554)) - \[bugfix][`no-trailing-whitespace`](https://palantir.github.io/tslint/rules/no-trailing-whitespace/) no longer flags files starting with a byte order mark ([#4543](https://togithub.com/palantir/tslint/issues/4543)) - \[enhancement][`promise-function-async`](https://palantir.github.io/tslint/rules/promise-function-async/) now allows single statement lamda functions that delegate to another promise-returning function ([#4553](https://togithub.com/palantir/tslint/issues/4553)) - \[enhancement] Add note to docs about zero-indexing for machine formatters ([#4544](https://togithub.com/palantir/tslint/issues/4544)) - \[enhancement] Fix metadata of the [`whitespace`](https://palantir.github.io/tslint/rules/whitespace/) rule ([#4551](https://togithub.com/palantir/tslint/issues/4551)) - \[enhancement] Add junit output for files which are successfully linted ([#4566](https://togithub.com/palantir/tslint/issues/4566)) - \[new-rule-option] `underscore` option for [`no-shadowed-variable`](https://palantir.github.io/tslint/rules/no-shadowed-variable/) rule to ignore shadowed underscores ([#4546](https://togithub.com/palantir/tslint/issues/4546)) - \[new-rule-option] `require-const-for-all-caps` option for [`variable-name`](https://palantir.github.io/tslint/rules/variable-name/) rule ([#2936](https://togithub.com/palantir/tslint/issues/2936)) - \[new-rule-option] `overloads` option for [`completed-docs`](https://palantir.github.io/tslint/rules/completed-docs/) rule to enforce documentation of each overload signature ([#4563](https://togithub.com/palantir/tslint/issues/4563)) - \[new-rule-option] `allow-namespace-imports` option for [`no-duplicate-imports`](https://palantir.github.io/tslint/rules/no-duplicate-imports/) rule ([#4524](https://togithub.com/palantir/tslint/issues/4524)) - \[new-rule-option] `allow-arguments` option for [`no-object-literal-type-assertion`](https://palantir.github.io/tslint/rules/no-object-literal-type-assertion/) rule to allow type assertions on object literals used inside call expressions ([#4521](https://togithub.com/palantir/tslint/issues/4521)) - \[new-rule-option] `allow-delete` option for [`no-unbound-method`](https://palantir.github.io/tslint/rules/no-unbound-method/) rule ([#4548](https://togithub.com/palantir/tslint/issues/4548)) - \[new-rule][`no-tautology-expression`](https://palantir.github.io/tslint/rules/no-tautology-expression/) ([#4470](https://togithub.com/palantir/tslint/issues/4470)) - \[new-rule][`static-this`](https://palantir.github.io/tslint/rules/static-this/) ([#4475](https://togithub.com/palantir/tslint/issues/4475)) - \[new-rule][`unnecessary-else`](https://palantir.github.io/tslint/rules/unnecessary-else/) ([#4502](https://togithub.com/palantir/tslint/issues/4502)) Thanks to our contributors! - Roman Rogowski - Max Belsky - Edward Drapkin - Dominik Palo - Matthew McCune - Debsmita - Lucas Charles - Piotr Gajowniczek - Darren Anderson - Noam Yogev - Josh Goldberg - Karol Majewski ### [`v5.13.1`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5131) [Compare Source](https://togithub.com/palantir/tslint/compare/5.13.0...5.13.1) - \[bugfix] Fix regression in CheckstyleFormatter backwards compatibility ([#4561](https://togithub.com/palantir/tslint/issues/4561)) ### [`v5.13.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5130) [Compare Source](https://togithub.com/palantir/tslint/compare/5.12.1...5.13.0) - \[deprecation] Mark `RuleWalker` and `ProgramAwareRuleWalker` as deprecated ([#4413](https://togithub.com/palantir/tslint/issues/4413)) - \[bugfix] Create output directory when the output path (specified by `--out` CLI flag) does not exist. ([#4507](https://togithub.com/palantir/tslint/issues/4507)) - \[bugfix] Explicit disabling of rules is now copied over to jsRules when using `jsRules: true` ([#4517](https://togithub.com/palantir/tslint/issues/4517)) - \[bugfix] `unknown` is recognized as simple type in [`array-type`](https://palantir.github.io/tslint/rules/array-type/) ([#4433](https://togithub.com/palantir/tslint/issues/4433)) - \[bugfix][`ban`](https://palantir.github.io/tslint/rules/ban/): Fix a false positive which would occur when banning method calls nested inside objects. Previously, banning `["a", "b", "c"]` would trigger lint failures on the syntax `b.c()`, which was not the intent of this rule. ([#4383](https://togithub.com/palantir/tslint/issues/4383)) - \[bugfix] Fixed single-line comment parsing for completed-docs ([#3557](https://togithub.com/palantir/tslint/issues/3557)) - \[bugfix][`trailing-comma`](https://palantir.github.io/tslint/rules/trailing-comma/) no longer crashes if it cannot find the closing parenthesis of a function declaration ([#4457](https://togithub.com/palantir/tslint/issues/4457)) - \[bugfix][`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/): allow implicitly downcasting `any` to `unknown` ([#4442](https://togithub.com/palantir/tslint/issues/4442)) - \[bugfix] Add `grouped-imports` to `tslint:all` ([#4420](https://togithub.com/palantir/tslint/issues/4420)) - \[docs] Fix docs typo ([#4395](https://togithub.com/palantir/tslint/issues/4395)) - \[enhancement] Add "formatting" rule category ([#2832](https://togithub.com/palantir/tslint/issues/2832)) - \[enhancement][`ordered-imports`](https://palantir.github.io/tslint/rules/ordered-imports/) now supports a groups option to provide custom grouping rules. ([#4134](https://togithub.com/palantir/tslint/issues/4134)) - \[enhancement] Convert [`completed-docs`](https://palantir.github.io/tslint/rules/completed-docs/) to an untyped rule ([#3557](https://togithub.com/palantir/tslint/issues/3557)) - \[enhancement] Checkstyle formatter includes every file linted regardless of lint errors. ([#3838](https://togithub.com/palantir/tslint/issues/3838)) - \[enhancement] Formatters now receive the full list of of linted file paths as a third argument. ([#3838](https://togithub.com/palantir/tslint/issues/3838)) - \[enhancement][`array-type`](https://palantir.github.io/tslint/rules/array-type/) rule handles Typescript 3.0's unknown type properly ([#4219](https://togithub.com/palantir/tslint/issues/4219)) - \[enhancement][`import-blacklist`](https://palantir.github.io/tslint/rules/import-blacklist/) now supports regular expression patterns for blacklisting ([#3504](https://togithub.com/palantir/tslint/issues/3504)) - \[new-rule] `no-restricted-globals` ([#3824](https://togithub.com/palantir/tslint/issues/3824)) - \[new-fixer] added fixer for `newline-before-return` rule ([#4482](https://togithub.com/palantir/tslint/issues/4482)) - \[new-fixer][`number-literal-format`](https://palantir.github.io/tslint/rules/number-literal-format/) now includes auto fix ([#4496](https://togithub.com/palantir/tslint/issues/4496)) - \[new-rule-option] Added `whitelist` option to [`no-unbound-method`](https://palantir.github.io/tslint/rules/no-unbound-method/) ([#4472](https://togithub.com/palantir/tslint/issues/4472)) - \[new-rule-option] Added `jsx-ignore` option to [`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers/) rule ([#4460](https://togithub.com/palantir/tslint/issues/4460)) - \[new-rule-option]: [`object-literal-sort-keys`](https://palantir.github.io/tslint/rules/object-literal-sort-keys/): Add `match-declaration-order-only` option ([#3748](https://togithub.com/palantir/tslint/issues/3748)) - \[new-rule-option][`strict-boolean-expressions`](https://palantir.github.io/tslint/rules/strict-boolean-expressions/) accepts `ignore-rhs` option to disable checking the right-hand side of the `&&` and `||` operators as strictly boolean. ([#4159](https://togithub.com/palantir/tslint/issues/4159)) Thanks to our contributors! - Enes SOYLU - jbsingh - Sven Efftinge - James C. Davis - Norio Suzuki - Thomas den Hollander - Retsam - Dobes Vandermeer - Young Min Kim - Grant Wu - Felix Schindler - Lydia - Adrian Leonhard - James Jensen - Athene Noctua - Allen - Vincent Langlet - Paul Medynski - Liz - Piotr Gajowniczek - Max Sysoev - Jakub Beneš - Ian Mobley - 周昊宇 - Nazanin Delam - Matt R. Wilson - Andy Hanson - Zen - Josh Goldberg - Jeff Lau ### [`v5.12.1`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5121) [Compare Source](https://togithub.com/palantir/tslint/compare/5.12.0...5.12.1) ### [`v5.12.0`](https://togithub.com/palantir/tslint/blob/HEAD/CHANGELOG.md#v5120) [Compare Source](https://togithub.com/palantir/tslint/compare/5.11.0...5.12.0)Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.