This repository was archived by the owner on Oct 11, 2022. It is now read-only.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
We've updated a dependency and here is what you need to know:
You should probably take a good look at the info here and the test results before merging this pull request, of course.
What changed?
✳️ tslint (5.9.1 → 5.11.0) · Repo · Changelog
Release Notes
From the Github release:
no-unused-variableis deprecated because typescript now covers most of its functionality (#3919)🎉 Features
file-name-casing(#3978)switch-final-break(#3615)member-orderingand added corresponding tests. (#3935)no-implicit-dependencies(#3979)🛠 Bugfixes & enhancements
no-use-before-declareFixes false positives when using the destructuring syntax (#3761) (#3876)no-emptyrule is now properly respecting empty methods (#3897)no-magic-numbers- support for negative zero (#3903)no-implicit-dependenciestest failure; typescript@next failure (#4019)no-consolerule (#4041)no-floating-promisesrule docs. (#3886)prefer-whiledocs to be semantically correct (#3888)radixrule checks (#3901)no-implicit-dependenciesnow always considers peer dependencies (#3875)Thanks to our contributors!
Commits
See the full diff on Github. The new version differs by 55 commits:
Prepare release 5.11.0 (#4042)no-console: fix #3207 (#4041)Fix CI: no-implicit-dependencies test failure; typescript@next failure (#4019)[new-rule-option] [no-implicit-dependencies] - add whitelist (#3839) (#3979)Output +/- on diff so added/removed empty lines are visible. (#3973)no-implicit-dependencies should include peer dependencies even with "dev" option set (#3875)[New rule] add fileNameCasing rule (#3978)Radix rule checks Number.parseInt(), window.Number.parseInt(), global.Number.parseInt() (#3901)Implemented fixer for member-ordering and added corresponding tests. (#3935)Use Buffer.allocUnsafe instead of the deprecated new Buffer() (#3985)don't run no-unused-variable tests when testing against version of TS it's deprecated for (#3958)Deprecate no-unused-variable rule for typescript@next; also fix runtime error (#3919)Handle tsconfig.json errors without using JSON.stringify (#3908)Added fixer for switch-final-break (#3615)bugfix - no-use-before-declare - exception for destructuring w/ rename (#3876)init patch; using Object.is to diff between pos/neg zero (#3903)Turn on strictPropertyInitialization for src/ and test/. (#3924)Fix typo (#3910)no-empty: fix lack of methods handling (#3897)CS: test/rules/no-empty/default/test.ts.lint - fix missing newline at end of file (#3896)[docs] Fix prefer-while docs (#3888)Fix link to Configuration page (#3891)Fix typo (#3898)Fix some typos in `no-floating-promises` rule docs. (#3886)Fix Copyright: @license JSDoc tag was missing (#3879)Prepare release 5.10.0 (#3871)Excluded native JSX elements from no-unsafe-any (#3699)Improve "no valid rules" error message to include file type (#3729)[new-rule]prefer-while rule (#3750)Fix completed-docs rule (#3868)no-unbound-method: add another exception (#3610)correct name and link for "object-literal-sort-keys" in changelog (#3715)[docs] no-string-throw: add missing examples. (#3701)Improved "complete docs" docs (#3823)Adding documentation example to deprecationRule (#3848)Added rule+file-specific error messages to rule crashes (#3836)[new-fixer]: Add space before comment message fixer (#3845)Removed *nix-only comment from package.json (#3858)Fix build (#3853)[docs] adds optional capability to provide code examples in rules' metadata (#3602)Add the option allow-empty-functions in no-empty (#3624)Updated max-line-length ignore-pattern example (#3834)Clarified lint message "All imports are unused." (#3831)Used bang in file-header (#3741)promise-function-async: add options to specify function types to check. (#3807)Build tslint with TypeScript 2.7.2. (#3819)Added 2 (+/-1) sentence rationales for 2/3 of rules (#3734)Update for docs/usage/configuration/index.md (#3661)docs(changelog): fix wrong description (#3659)Fixed "manging" typo in no-this-assignment (#3673)no-unbound-method: Fix description typo (#3732)Improve documentation of cli flag --project (#3703)Update index.md (#3773)Removes trailing whitespace from file-header (#3802)Remove buffers `noAssert` argument (#3770)Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.