@johnwiseheart johnwiseheart released this Jul 16, 2018 · 44 commits to master since this release

Assets 2

⚠️ Deprecations

🎉 Features

🛠 Bugfixes & enhancements

Thanks to our contributors!

  • Bowen Ni
  • Peter Safranek
  • Saugat Acharya
  • Jason Mendes
  • Ryan Waskiewicz
  • Dariusz Rumiński
  • Xinhu Liu
  • Rado Kirov
  • aervin_
  • Josh Goldberg
  • mertdeg2
  • Jason Killian
  • Adrian Leonhard
  • david-cannady
  • Andy Russell
  • Tibor Blenessy
  • Andrew Crites
  • Pavel Birukov
  • shalomdotnet

@JKillian JKillian released this May 3, 2018 · 69 commits to master since this release

Assets 2

v5.10.0

🎉 Features

🛠 Bugfixes & enhancements

  • [bugfix] file-header rule plays nice with no-trailing-whitespace rule (#3802)
  • [bugfix] no-unbound-method rule allows square bracket property access (#3610)
  • [bugfix] no-unsafe-any no longer marks native JSX elements as unsafe (#3699)
  • [enhancement] file-header auto-fixes use '!' character to ensure header stays above imports (#3741)
  • [enhancement] Better error messages if a rule crashes (#3836)
  • [enhancement] Better error messages when no valid rules are specified (#3729)
  • [enhancement] Better lint messages for unused imports in no-unused-variable rule (#3831)
  • [docs] Improve documentation of cli flag --project (#3703)
  • [docs] Added short rationales for about thirty rules (#3734)
  • [docs] Added optional capability to provide code examples in rules' metadata (#3602)
  • [docs] Many small docs fixes and tweaks from many great contributors!

Thanks to our contributors!

  • Achim Weimert
  • BB9z
  • Blair Zajac
  • Chia-Lun Wu (Leo)
  • Ethan
  • Janis Koehr
  • Josh Goldberg
  • Julian Verdurmen
  • Lucas Sloan
  • Mark Vincze
  • Martin Möhwald
  • Oliver Joseph Ash
  • Pichest Wongsiripiphat
  • Rafael Santana
  • Ruben Bridgewater
  • Ryan Waskiewicz
  • Sehrope Sarkuni
  • Suchan Lee
  • Victor Belozyorov
  • aervin_
  • cwgorman
  • felipeissa
  • jishi9

@adidahiya adidahiya released this Jan 10, 2018 · 99 commits to master since this release

Assets 2

🛠 Bugfixes

  • [bugfix] Removed extraneous deprecation warning produced when using tslint:recommended or tslint:latest by disabling typeof-compare in these rulesets. (#3639)
  • [bugfix] Resolve directories as absolute paths when validating custom rulesDirectory paths, which fixes usage with tslint-loader. (#3640)

@adidahiya adidahiya released this Jan 10, 2018 · 102 commits to master since this release

Assets 2

⚠️ Deprecations

  • [deprecation] Several utility functions from src/language/utils.ts have been deprecated (#3476)
  • [deprecation] Linting non-existent files now outputs a warning. This will be an error in TSLint 6. (#3313)

Configuration inheritance changes

Significant changes have been made to configuration inheritance to address a long-standing UX issue around defualtSeverity: #2569.

defaultSeverity defined in a tslint.json file will now override the defaultSeverity value defined in any configurations you are extending.
This means that any rules specified in the base configurations can now take on a new defaultSeverity if you so choose. If you extend multiple
configuration files, the defaultSeverity defined in the last one wins.

In practice, this allows users to, for example, more easily use the built-in TSLint configurations (tslint:recommended, tslint:latest, tslint:all)
and treat all errors as warnings instead of errors.

For more details, see the relevant PRs:

  • Override defaultSeverity defined in extended configs (#3449)
  • Inherit defaultSeverity and apply it to preceding base configs (#3530)

🎉 Features

🛠 Bugfixes & enhancements

Thanks to our contributors!

  • Klaus Meinhardt
  • Josh Goldberg
  • Chris Barr
  • Nathan Shively-Sanders
  • Jeremy Morton
  • Sergey Koshechkin
  • Daniel Kucal
  • Eric Smekens
  • Johannes Choo
  • Elena Vilchik
  • Eugene Timokhov
  • Carlo Bottiglieri
  • reduckted
  • Glavin Wiechert
  • jbsingh
  • Mateusz Witkowski
  • HideDev
  • Bruno Lemos
  • aervin_
  • Roman
  • Ryan Waskiewicz

@adidahiya adidahiya released this Oct 20, 2017 · 180 commits to master since this release

Assets 2

⚠️ Deprecations

  • [deprecation] typeof-compare is deprecated because typescript already does that check (#3286)
  • [deprecation] CLI argument --type-check is no longer necessary and will be removed in the next major version (#3322)

⚠️ Updates to tslint:latest configuration

+    "ban-comma-operator": true,
+    "jsdoc-format": {
+        options: "check-multiline-start",
+    },
+    "no-duplicate-switch-case": true,
+    "no-implicit-dependencies": true,
+    "no-return-await": true,

🎉 Features

🛠 Bugfixes & enhancements

Thanks to our contributors!

  • Klaus Meinhardt
  • Charles Samborski
  • Donald Pipowitch
  • Josh Goldberg
  • mmkal
  • Erik
  • Csaba Miklos
  • Dominik Moritz
  • Khalid Saifullah
  • Lukas Spieß
  • Merott Movahedi
  • Bowen Ni
  • ksvitkovsky
  • Hutson Betts
  • Caleb Eggensperger
  • Brent Erickson
  • Trivikram
  • Brandon Furtwangler
  • Pavel Zet
  • aervin_
  • Holger Jeromin
  • Danny Guo
  • Jeremy Morton
  • Cyril Gandon
  • Andy Hanson
  • yadan

@adidahiya adidahiya released this Aug 25, 2017 · 261 commits to master since this release

Assets 2

🎉 New rules, options, and fixers

🛠 Bugfixes & enhancements

  • [api] AbstractRule#applyWithFunction allows additional parameter that is passed through to walkFn (#3140)
  • [api] AbstractRule#applyWithFunction has better type checking for its type parameter (#2660)
  • [bugfix] member-access autofix now correcly inserts public keyword after decorators (#3162)
  • [bugfix] prefer-const correctly handle catch without binding parameter introduced in typescript@2.5.1 (#3151)
  • [bugfix] no-invalid-template-strings allows backslash-prefixed template expressions (#3116)
  • [bugfix] deprecation no longer shows errors on imports and exports (#3141)
  • [bugfix] deprecation: fix false positive when calling a function or method where another overload is deprecated (#2883)
  • [bugfix] whitespace: fixed "check-separator" for trivial for cases. (#3132)
  • [bugfix] prefer-object-spread prevent spreading this as it is not allowed by the compiler (#3126)
  • [bugfix] msbuild formatter uses backslashes in paths on Windows (#3145)
  • [bugfix] no-namespace ignores global augmentation (#3161)
  • [enhancement] remove superfluous empty lines on tslint output. (#3121)
  • [enhancement] no-submodule-imports allows whitelisting of submodules like @angular/core/testing (#3129)
  • [enhancement] custom lint rules will be resolved using node's path resolution to allow for loaders like ts-node (#3108)
  • [enhancement] quotemark no longer requires "single" or "double" to be the first option. The rule defaults to "double" if none is specified. (#3114)
  • [enhancement] no-unused-variable autofix removes trailing comments of imports (#3156)
  • [enhancement] no-unnecessary-type-assertion allows certain necessary assertions to prevent type widening (#3120)

Thanks to our contributors!

  • Paul Gschwendtner
  • Andy Hanson
  • ksvitkovsky
  • Santi Albo
  • aervin
  • Junle Li
  • Joscha Feth
  • WiseBird
  • Caleb Eggensperger
  • WGroenestein
  • Bowen Ni

@adidahiya adidahiya released this Aug 7, 2017 · 291 commits to master since this release

Assets 2

🎉 New rules, options, and fixers

🛠 Bugfixes & enhancements

Thanks to our contributors!

  • Klaus Meinhardt
  • Julian Verdurmen
  • Alexandre Alonso
  • Josh Goldberg
  • ksvitkovsky
  • Daisuke Yokomoto
  • Andrii Dieiev
  • Florent Suc
  • Jason Killian
  • Amin Pakseresht
  • reduckted
  • vilicvane
  • Russell Briggs
  • Andy Hanson
  • Leo Liang
  • Dan Homola
  • BehindTheMath
  • David Golightly
  • aervin
  • Daniel Kucal
  • Ika
  • Chris Barr

@adidahiya adidahiya released this Jul 5, 2017 · 333 commits to master since this release

Assets 2

Editor's note: This release features an important bugfix for overlapping fixes when using --project and --fix (#2864).

🎉 New rules and options

🛠 Bugfixes & enhancements

Thanks to our contributors!

  • Klaus Meinhardt
  • Josh Goldberg
  • Petr Kosikhin
  • Pablo Núñez
  • Benny Neugebauer
  • Radon Rosborough
  • reduckted
  • Chris Barr
  • Julian Verdurmen

@adidahiya adidahiya released this Jun 6, 2017

Assets 2

🛠 Bugfixes

@adidahiya adidahiya released this Jun 1, 2017 · 361 commits to master since this release

Assets 2

🛠 Bugfixes

  • [bugfix] Restored support for multiple --exclude options in the CLI (#2855)
  • [bugfix] Restored support for --version CLI option (#2857)