Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Update tslint from 5.7.0 to 5.8.0 #62

Merged
merged 1 commit into from
Oct 25, 2017
Merged

Conversation

dependencies[bot]
Copy link
Contributor

@dependencies dependencies bot commented Oct 25, 2017

tslint has been updated to 5.8.0 by dependencies.io

5.8.0

⚠️ 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

  • [feature] Added linterOptions configuration field to tslint.json, which supports a list of exclude globs to disable linting for a subset of files (#2409)
  • [new-rule] no-return-await (#3233)
  • [new-rule] no-redundant-jsdoc (#2754)
  • [new-rule] no-duplicate-switch-case (#2937)
  • [new-rule] no-implicit-dependencies (#3343)
  • [new-rule] no-unnecessary-class (#3119)
  • [new-rule] ban-comma-operator (#3250)
  • [new-fixer] one-line (#3200)
  • [new-fixer] curly (#3262)
  • [new-rule-option] jsdoc-format adds option "check-multiline-start" to enforce the first line of a multiline JSDoc comment to be empty. (#3181)
  • [new-rule-option] trailing-comma adds option "esSpecCompliant" to make it compatible with the ES spec regarding trailing commas after object/array rest and rest parameters. (#3176)
  • [new-rule-option] "check-parameter-property" option for member-access rule (#3325)
  • [new-rule-option] "strict-bound-class-methods" option for semicolon rule (#3294)
  • [new-rule-option] "grouped-imports" option for ordered-imports rule (#3138)
  • [new-rule-option] "ignore-blank-lines" option for no-trailing-whitespace rule (#3346)
  • [new-rule-option] "never" option for object-literal-shorthand disallows shorthand notation (#3268)
  • [new-rule-option] "exclude-class-expressions" option for max-classes-per-file rule (#3281)
  • [new-rule-option] no-unnecessary-type-assertion supports a whitelist of types to ignore (#3257)
  • [new-rule-option] "module-source-path" for ordered-imports allows sorting imports by trailing end of path (#3178)
  • [new-formatter] JUnit (#3194)

🛠️ Bugfixes & enhancements

  • [bugfix] no-empty-interface allows providing type arguments for extended type (#3260)
  • [bugfix] Fixed line switches to not disable failures in the next line following the disabled line (#3177)
  • [bugfix] return-undefined handles union return types in async functions (#3298)
  • [bugfix] deprecation checks correct constructor overload (#3203)
  • [bugfix] return-undefined declared return type takes precedence over contextual type (#3298)
  • [bugfix] Correctly mark inputFilePath as an optional parameter in Configuration.findConfiguration() (#3195)
  • [bugfix] return-undefined fixed regressions: once again allows anything if return type is any (#3298)
  • [bugfix] only-arrow-functions allow function if this is used in parameter initializer (#3315)
  • [bugfix] no-conditional-assignment: exclude intentional assignments, e.g. inside functions (#2629)
  • [bugfix] no-angle-bracket-type-assertion fixer adds parentheses when necessary (#3301)
  • [bugfix] no-angle-bracket-type-assertion fixed order when autofixing consecutive assertions (#3301)
  • [bugfix] vso formatter no longer duplicates output for fixed failures (#3348)
  • [bugfix] no-unbound-method: Allow negation of method (#3349)
  • [bugfix] arrow-parens with option "ban-single-arg-parens" no longer produces invalid code when fixed (#3247)
  • [bugfix] Fixed regression where the lookup of tslint.json stopped at the current directory. (#3309)
  • [bugfix] --test works correctly with any compilerOptions.target (#3296)
  • [bugfix] whitepace handles files with BOM and other irregular whitespace (#3305)
  • [bugfix] callable-types auto fix produces invalid results (#3342)
  • [bugfix] no-string-literal correctly fix property names with leading underscores (#3184)
  • [bugfix] variable-name fixed crash on empty variable name (#3292)
  • [bugfix] trailing-comma fixed crash on arrow function without parens (#3246)
  • [bugfix] Fix space-before-function-paren for anonymous/arrow generic functions (#3085)
  • [bugfix] Removed warning printed to console when using the no-unused-variable along with the noUnusedLocals and noUnusedParameters compiler options (#3227)
  • [bugfix] no-invalid-this ignores functions with a this param (#3267)
  • [enhancement] Sort failures by line and character for formatters (#3345)
  • [enhancement] import-blacklist also checks exports and dynamic imports (#3258)
  • [enhancement] no-conditional-assignment added check for conditional (ternary) expressions (#2629)
  • [enhancement] Allow 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)
  • [enhancement] await-promise enforces that for-await-of is only used with AsyncIterable (#3297)
  • [enhancement] one-line checks type alias declarations (#3200)
  • [enhancement] deprecation checks object destructuring (#3318)
  • [enhancement] no-submodule-imports also checks exports (#3258)
  • [enhancement] restrict-plus-operands: More specific error message when arguments include strings (#3220)
  • [enhancement] no-unsafe-any checks more expressions, for example destructuring, yield, property initializer (#3196)
  • [enhancement] object-literal-sort-keys: allow grouping of object properties via additional blank lines when using alphabetical ordering. (#3191)
  • [enhancement] Migrated CLI from using colors module to chalk module (#3171)
  • [enhancement] no-unused-variable applies the ignorePattern to imports (#3187)

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

@kornicameister kornicameister merged commit de67858 into master Oct 25, 2017
@kornicameister kornicameister deleted the tslint-5.8.0-20.0.0 branch October 25, 2017 21:45
kornicameister pushed a commit that referenced this pull request Oct 29, 2018
## Overview

The following dependencies have been updated by [dependencies.io](https://www.dependencies.io/):

- `lint-staged` in `package.json` from "7.2.2" to "8.0.0"

## Details

### `lint-staged`

This dependency is located in `package.json` and was updated from "7.2.2" to "8.0.0".

<details>
<summary>7.3.0</summary>

# [7.3.0](lint-staged/lint-staged@v7.2.2...v7.3.0) (2018-09-20)


### Features

* Allow linting files outside of project folder ([#495](https://www.dependencies.io/github-redirect/okonet/lint-staged/issues/495)) ([d386c80](lint-staged/lint-staged@d386c80))

</details>

<details>
<summary>8.0.0</summary>

# [8.0.0](http://git+https/github.com/okonet/lint-staged/compare/v7.3.0...v8.0.0) (2018-10-29)


### Features

* Add support for partially staged files ([#75](http://git+https/github.com/lint-staged/lint-staged/issues/75)) ([f82443c](http://git+https/github.com/okonet/lint-staged/commit/f82443c)), closes [#62](http://git+https/github.com/lint-staged/lint-staged/issues/62)


### BREAKING CHANGES

* Node >= 8.6 is required

</details>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants