-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Version 5.4.0 of tslint just got published.
| Branch | Build failing 🚨 |
|---|---|
| Dependency | tslint |
| Current Version | 5.3.2 |
| Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As tslint is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
Status Details
- ❌ continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes
v5.4.0🎉 New rules, options, and fixers
- [new-rule]
switch-final-break(#2804) - [new-rule]
use-default-type-parameter(#2253) - [new-rule]
binary-expression-operand-order(#2805) - [new-rule-option]
bannew options format: allows to specify an optional explanation message for function bans, banning nested methods and using a wildcard for object of a method ban (#2547) - [new-rule-option]
no-duplicate-variableaddscheck-parametersoption to check if variable has the same name as a parameter (#2597) - [new-rule-option]
curly: "as-needed" option (#2842) - [new-rule-option]
no-unbound-methodadd option"ignore-static"(#2751) - [new-rule-option]
strict-boolean-expressionsaddsallow-boolean-or-undefined(#2820) - [new-fixer]
object-literal-shorthandcan fix longhand methods (#2558)
🔨 Bugfixes & enhancements
- [bugfix]
prefer-object-spreadallows constructor, function and method calls and more as first argument toObject.assign(#2828) - [bugfix]
no-unbound-methodwalker skips past the parent if it is a cast or parenthesized expression (#2838) - [bugfix]
object-literal-shorthand: fixed suggestion for generator functions (#2558) - [bugfix] Fixed issue with case sensitivity of
no-unused-variablerule on Windows (#2819) - [bugfix] don't crash
tslint --projectifallowJsis set in tsconfig.json (#2823) - [bugfix]
alignwith option"members": check members of class expressions; don't check semicolons in classes (#2668) - [bugfix]
no-inferred-empty-object-type: fix stack overflow (#2762) - [bugfix]
semicolon: don't warn about unnecesary semicolon when it is actually needed, e.g. when followed by type assertion or template string (#2655) - [bugfix]
space-before-function-paren: Ignore async arrow function with no parentheses (#2833) - [bugfix]:
no-unsafe-any: Don't fail oncontinue label;(#2830) - [bugfix]
no-unbound-method: Allow unbound method to be used as a condition (#2834) - [bugfix]
no-unsafe-any: Allow to switch on a value of typeany(#2836) - [bugfix]
no-unsafe-any: Don't markdeclare global {}as an unsafe any. (#2839) - [bugfix]
indentnow checks indentation of expressions inside template strings (#2826) - [enhancement]
--project(or-p) enables rules that require the type checker.--type-checkonly checks for errors before linting is no longer required (#2773) - [enhancement]
deprecation: error message includes deprecation text if available (#2748) - [enhancement]
cyclomatic-complexity: Don't count empty switch case(#2743) - [enhancement]
strict-boolean-expressions: Allowany, andtrueandfalseliteral types (#2758) - [enhancement]
no-floating-promises: Allow 'promise.catch()' (#2774) - [enhancement]
comment-formatno longer excludes comments with triple slash from linting except/// <reference path="..."/>(#2616) - [enhancement]
prefer-object-spread: lint more locations where return value is used. (#2828) - [enhancement]
semicolon: option"never"is now spec compliant (#2655) - [enhancement]
object-literal-shorthandhandles async functions correctly (#2558) - [enhancement]
--testCLI option: allow passing path to tslint.json (#2784) - [enhancement] Use commander instead of optimist for CLI arguments (#2689)
- [enhancement]
strict-type-predicates: warn if strictNullChecks is not enabled (#2786)
Thanks to our contributors!
- Klaus Meinhardt
- Manuel Lopez
- Andy Hanson
- Piotr Tomiak
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Reactions are currently unavailable