Open greenkeeper[bot] opened 7 years ago
Your tests are still failing with this version. Compare the changes ๐จ
src/language/utils.ts
have been deprecated (#3476)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:
defaultSeverity
defined in extended configs (#3449)file-header
(#3475)no-dynamic-delete
(#3573)prefer-readonly
(#2896)newline-per-chained-call
(#3278)"temporalDeadZone"
for no-shadowed-variable
to ignore shadowing in the temporal dead zone of classes, parameters, enums and variables declared with let
or const
"shorthand-first"
for object-literal-sort-key
(#3607)max-line-length
(#3099)--project
excludes all files of external dependencies (#3320)tsconfig.json
is invalid (#3410)no-implicit-dependencies
don't crash on malformed package.json (#3373)strict-type-predicates
allows comparing typeof result with non-literals (#3542)no-redundant-jsdoc
fixed crash on unhandled tag (#3414)object-literal-sort-keys
fixed regression that effectively disabled the rule with \r\n
line breaks (#3427)curly
fixer now correctly handles comments (#3473)no-unsafe-any
fixed false-positive with namespaced types (#3487)no-any
(#3486)no-unnecessary-type-assertion
fixed false negatives for types with numeric keys (#3468)callable-types
adds parentheses when fixing a type literal inside an array type (#3440)no-unsafe-any
allows spreading an any
value into an object (#3439)arrow-parens
fixer (#3618)prefer-const
false negative with index signature named like a variable (#3385)whitespace
rule checks property declarations if "check-decl"
is enabled (#3546)no-duplicate-super
rule. (#3544)no-shadowed-variable
now excludes declaration files and ambient modules (#3387)no-duplicate-imports
Allow duplicate imports from separate ambient module declarations (#3398)await-promise
correctly recognises classes extending Promise (#3383)prefer-conditional-expression
: don't repeat error on nested if statements (#3528)completed-docs
: don't require documentation on methods in object literals (#3532)one-line
fixed crash on syntax error in class or interface (#3538)no-redundant-jsdoc
allow @template
tag if it has a description (#3415)typeof-compare
(#3429)"properties"
option for completed-docs
rule now checks getter and setter accessors. (#3497)no-magic-numbers
ignores parseInt radix parameter (#3536)--project
option (#3313)stylish
-formatter's output jumps to the first failure in that file. (#3491)ban-comma-operator
ignores comma operator inside for-loop incrementor (#3485)space-within-parens
updated to always allow empty parentheses ()
. (#3513)completed-docs
modifier lists (#3379)ban-comma-operator
(#3384)completed-docs
rule to use a function instead of a walker (#3466)ban-comma-operator
: fix metadata, list as "functionality" rule (#3612)no-use-before-declare
documentation to clarify the rule's status (#3520)await-promise
options documentation (#3519)hasFix
metadata for the indent
rule (#3529)no-irregular-whitespace
(#3627)Thanks to our contributors!
Your tests are still failing with this version. Compare the changes ๐จ
Version 5.8.0 of tslint was just published.
This version is covered by your current version range and after updating it in your project the build failed.
tslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Status Details
- โ **continuous-integration/travis-ci/push** The Travis CI build failed [Details](https://travis-ci.org/CraigglesO/bit-formater/builds/290614685?utm_source=github_status&utm_medium=notification)Release Notes
v5.8.0typeof-compare
is deprecated because typescript already does that check (#3286)--type-check
is no longer necessary and will be removed in the next major version (#3322)tslint:latest
configurationlinterOptions
configuration field totslint.json
, which supports a list ofexclude
globs to disable linting for a subset of files (#2409)no-return-await
(#3233)no-redundant-jsdoc
(#2754)no-duplicate-switch-case
(#2937)no-implicit-dependencies
(#3343)no-unnecessary-class
(#3119)ban-comma-operator
(#3250)one-line
(#3200)curly
(#3262)jsdoc-format
adds option"check-multiline-start"
to enforce the first line of a multiline JSDoc comment to be empty. (#3181)trailing-comma
adds option"esSpecCompliant"
to make it compatible with the ES spec regarding trailing commas after object/array rest and rest parameters. (#3176)"check-parameter-property"
option formember-access
rule (#3325)"strict-bound-class-methods"
option forsemicolon
rule (#3294)"grouped-imports"
option forordered-imports
rule (#3138)"ignore-blank-lines"
option forno-trailing-whitespace
rule (#3346)"never"
option forobject-literal-shorthand
disallows shorthand notation (#3268)"exclude-class-expressions"
option formax-classes-per-file
rule (#3281)no-unnecessary-type-assertion
supports a whitelist of types to ignore (#3257)"module-source-path"
forordered-imports
allows sorting imports by trailing end of path (#3178)no-empty-interface
allows providing type arguments for extended type (#3260)return-undefined
handles union return types in async functions (#3298)deprecation
checks correct constructor overload (#3203)return-undefined
declared return type takes precedence over contextual type (#3298)inputFilePath
as an optional parameter inConfiguration.findConfiguration()
(#3195)return-undefined
fixed regressions: once again allows anything if return type isany
(#3298)only-arrow-functions
allow function ifthis
is used in parameter initializer (#3315)no-conditional-assignment
: exclude intentional assignments, e.g. inside functions (#2629)no-angle-bracket-type-assertion
fixer adds parentheses when necessary (#3301)no-angle-bracket-type-assertion
fixed order when autofixing consecutive assertions (#3301)vso
formatter no longer duplicates output for fixed failures (#3348)no-unbound-method
: Allow negation of method (#3349)arrow-parens
with option"ban-single-arg-parens"
no longer produces invalid code when fixed (#3247)tslint.json
stopped at the current directory. (#3309)--test
works correctly with anycompilerOptions.target
(#3296)whitepace
handles files with BOM and other irregular whitespace (#3305)callable-types
auto fix produces invalid results (#3342)no-string-literal
correctly fix property names with leading underscores (#3184)variable-name
fixed crash on empty variable name (#3292)trailing-comma
fixed crash on arrow function without parens (#3246)space-before-function-paren
for anonymous/arrow generic functions (#3085)no-unused-variable
along with thenoUnusedLocals
andnoUnusedParameters
compiler options (#3227)no-invalid-this
ignores functions with athis
param (#3267)import-blacklist
also checks exports and dynamic imports (#3258)no-conditional-assignment
added check for conditional (ternary) expressions (#2629)completed-docs
to list doc tags that mark a node as not requiring a documentation body. Tags can also provide a regexp matcher to validate that their contents are docs-valid. (#2415)await-promise
enforces thatfor-await-of
is only used withAsyncIterable
(#3297)one-line
checks type alias declarations (#3200)deprecation
checks object destructuring (#3318)no-submodule-imports
also checks exports (#3258)restrict-plus-operands
: More specific error message when arguments include strings (#3220)no-unsafe-any
checks more expressions, for example destructuring,yield
, property initializer (#3196)object-literal-sort-keys
: allow grouping of object properties via additional blank lines when using alphabetical ordering. (#3191)colors
module tochalk
module (#3171)no-unused-variable
applies the ignorePattern to imports (#3187)Thanks to our contributors!
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donโt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: