[Snyk] Upgrade tslint from 5.8.0 to 5.20.1 #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade tslint from 5.8.0 to 5.20.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.Release notes
No changes from v5.20.0, just re-released to correctly mark with the
latest
dist-tag on NPM.strict-boolean-expressions
false positive with"ignore-rhs"
option (#4833)no-unnecessary-type-assertion
no error when"strict": true
in compiler flags (#4841)file-name-casing
rule works correctly (#4848)array-type
false positive for simple parenthesized types with "array-simple" option (#4844)object-literal-shorthand
supports{"property"?: "never", "method"?: "never"}
as config options (#4842)allow-generics
option forinvalid-void
rule (#4839)check-super-calls
option forunnecessary-constructor
rule (#4813)diff
dependency to v4.0.1 (#4845, #4852)Thanks to our contributors!
promise-function-async
for short parenthesized arrow functions (#4765)no-async-without-await
false positive for abstract methods (#4782)strict-comparison
false positive fornull
andundefined
literals (#4786)no-angle-bracket-type-assertion
autofix semantics with more parentheses (#4823)restrict-plus-operands
rule (#4814)await-promise
now supports new TypeScript 3.6 AST API symbols for async iterators (#4800)check-strings
andcheck-regex
options formax-line-length
rule (#4798)variable-declaration-ignore-function
option fortypedef
rule (#4769)ignore-blank-lines
option forobject-literal-sort-keys
rule (#4808)no-for-in
(#4747)invalid-void
(#4736)strict-string-expressions
reports errors on type coercions found in string expressions (#4807)no-promise-as-boolean
(#4790)Thanks to our contributors!
--print-config
CLI flag (#4744)no-unnecessary-type-assertion
no longer flagsx!
non-null assertions if--strictNullChecks
is not enabled (#3724)quotemark
handles unbalanced quotes more gracefully without crashing (#4344)no-magic-numbers
rule ignores arguments passed into default Number methods (#3668)comment-format
(#3583)"allow-trailing-lowercase"
option forcomment-format
rule (#3583)"ignore-accessors"
foradjacent-overload-signatures
to ignore getters / setters overloads (#3718)no-async-without-await
(#3945)strict-comparisons
(#4519)Thanks to our contributors!
quotemark
backtic option now ignores enum members, use strict declarations, lookup types, and strings containing octal escape sequences. (#4693)no-redundant-jsdoc
no longer errors onJSDocThisTag
(#4690)no-use-before-declare
rule for typescript >= 2.9.0 (#4695)variable-name
rule metadata (#4731)no-unused-variable
argument count (#4683)no-object-literal-type-assertion
(#4681)unnecessary-constructor
(#4694)Thanks to our contributors!
quotemark
backtick edge cases and fix behavior for TS < 2.7.1 (#4642)interface-name
rule related to numeric characters in interface names (#4655, #4626)nyc
from v10.2.0 to v13.3.0 (#4633)restrict-plus-operands
rule. (#4635)comment-format
rule now whitelists//region
comments generated by JetBrains IDE (#4609)no-null-undefined-union
rule. (#4625)allow-else-if
option forunnecessary-else
rule (#4599)switch-default
rule (#4650)no-parameter-properties
: fix unclear rule description (#4629)Thanks to our contributors!
WalkContext
andAbstractWalker
type parameter defaults tovoid
(#2600)no-void-expression
now allows conditional expressions (#4606)ordered-imports
(#4583)static-this
false positive for higher order components (#4580)unnecessary-else
from blankif
statements (#4603)unnecessary-else
after non-jumping statement (#4603)interface-name
now handles interface starting with "I18n" correctly (#4486)no-string-throw
fix inserts whitespace if not present afterthrow
keyword (#4540)quotemark
: fix some edge cases forbacktick
option (#4618)unnecessary-constructor
: don't flag non-private constructors that are actually necessary (#4619)allow-single-line-comments
option forfile-header
rule (#4560)ignore-rest-args
option forno-any
rule (#4581)no-null-undefined-union
(#4589)Thanks to our contributors!
backtick
option forquotemark
rule no longer incorrectly flags string literals that must use single/double quotes (#4535)whitespace
rule now lints export statements (#4554)no-trailing-whitespace
no longer flags files starting with a byte order mark (#4543)promise-function-async
now allows single statement lamda functions that delegate to another promise-returning function (#4553)whitespace
rule (#4551)underscore
option forno-shadowed-variable
rule to ignore shadowed underscores (#4546)require-const-for-all-caps
option forvariable-name
rule (#2936)overloads
option forcompleted-docs
rule to enforce documentation of each overload signature (#4563)allow-namespace-imports
option forno-duplicate-imports
rule (#4524)allow-arguments
option forno-object-literal-type-assertion
rule to allow type assertions on object literals used inside call expressions (#4521)allow-delete
option forno-unbound-method
rule (#4548)no-tautology-expression
(#4470)static-this
(#4475)unnecessary-else
(#4502)Thanks to our contributors!
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs