Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update @typescript-eslint/parser to the latest version 🚀 #5061

Merged
merged 1 commit into from Aug 20, 2019

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Aug 13, 2019

The devDependency @typescript-eslint/parser was updated from 1.13.0 to 2.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: jameshenry
License: BSD-2-Clause

Release Notes for v2.0.0

2.0.0 (2019-08-13)

  • feat(eslint-plugin)!: recommended-requiring-type-checking config (#846) (d3470c9), closes #846
  • feat(eslint-plugin)!: change recommended config (#729) (428567d), closes #729
  • feat(typescript-estree)!: throw error on file not in project when project set (#760) (3777b77), closes #760
  • feat(eslint-plugin)!: add rule consistent-type-assertions (#731) (92e98de), closes #731
  • feat(eslint-plugin)!: [array-type] rework options (#654) (1389393), closes #654 #635

Bug Fixes

  • eslint-plugin: [efrt] flag default export w/allowExpressions (#831) (ebbcc01)
  • eslint-plugin: [no-explicit-any] Fix ignoreRestArgs for interfaces (#777) (22e9ae5)
  • eslint-plugin: [no-useless-constructor] handle bodyless constructor (#685) (55e788c)
  • eslint-plugin: [prefer-readonly] TypeError when having comp… (#761) (211b1b5)
  • eslint-plugin: [typedef] support "for..in", "for..of" (#787) (39e41b5)
  • eslint-plugin: [typedef] support default value for parameter (#785) (84916e6)
  • eslint-plugin: add Literal to RuleListener types (#824) (3c902a1)
  • typescript-estree: fix is token typed as `Keyword (#750) (35dec52)
  • typescript-estree: jsx comment parsing (#703) (0cfc48e)
  • utils: add ES2019 as valid ecmaVersion (#746) (d11fbbe)

Features

  • explicitly support eslint v6 (#645) (34a7cf6)
  • eslint-plugin: [interface-name-prefix, class-name-casing] Add allowUnderscorePrefix option to support private declarations (#790) (0c4f474)
  • eslint-plugin: [no-var-requires] report on foo(require('')) (#725) (b2ca20d), closes #665
  • eslint-plugin: [promise-function-async] make allowAny default true (#733) (590ca50)
  • eslint-plugin: [strict-boolean-expressions] add ignoreRhs option (#691) (fd6be42)
  • eslint-plugin: add support for object props in CallExpressions (#728) (8141f01)
  • eslint-plugin: added new rule typedef (#581) (35cc99b)
  • eslint-plugin: added new rule use-default-type-parameter (#562) (2b942ba)
  • eslint-plugin: move opinionated rules between configs (#595) (4893aec)
  • eslint-plugin: remove deprecated rules (#739) (e32c7ad)

BREAKING CHANGES

  • removed some rules from recommended config
  • recommended config changes are considered breaking
  • by default we will now throw when a file is not in the project provided
  • Merges both no-angle-bracket-type-assertion and no-object-literal-type-assertion into one rule
  • eslint-plugin: both 'eslint-recommended' and 'recommended' have changed.
  • eslint-plugin: removing rules
  • changes config structure
type ArrayOption = 'array' | 'generic' | 'array-simple';
type Options = [
  {
    // default case for all arrays
    default: ArrayOption,
    // optional override for readonly arrays
    readonly?: ArrayOption,
  },
];
  • eslint-plugin: changing default rule config
  • Node 6 is no longer supported
Commits

The new version differs by 38 commits.

  • 05ba268 chore: publish v2.0.0
  • 0cfc48e fix(typescript-estree): jsx comment parsing (#703)
  • 0c4f474 feat(eslint-plugin): [interface-name-prefix, class-name-casing] Add allowUnderscorePrefix option to support private declarations (#790)
  • d3470c9 feat(eslint-plugin)!: recommended-requiring-type-checking config (#846)
  • 90b36dd docs(eslint-plugin): update ROADMAP.md (#844)
  • 428567d feat(eslint-plugin)!: change recommended config (#729)
  • de6cc1d docs(eslint-plugin): [no-useless-constructor] add example setup (#837)
  • ebbcc01 fix(eslint-plugin): [efrt] flag default export w/allowExpressions (#831)
  • 42b3013 chore: misc package.json updates related to v2 (#832)
  • 3c902a1 fix(eslint-plugin): add Literal to RuleListener types (#824)
  • 39e41b5 fix(eslint-plugin): [typedef] support "for..in", "for..of" (#787)
  • 84916e6 fix(eslint-plugin): [typedef] support default value for parameter (#785)
  • 73f8c79 docs(prefer-readonly): add rule name to title (#779)
  • b731df9 docs(eslint-plugin): Improve ban-types description (#773)
  • 22e9ae5 fix(eslint-plugin): [no-explicit-any] Fix ignoreRestArgs for interfaces (#777)

There are 38 commits in total.

See the full diff


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@sbrunner sbrunner force-pushed the greenkeeper/@typescript-eslint/parser-2.0.0 branch 5 times, most recently from 5d7706f to 6b2fbe3 Compare August 19, 2019 13:33
@sbrunner sbrunner force-pushed the greenkeeper/@typescript-eslint/parser-2.0.0 branch from 6b2fbe3 to 985ae09 Compare August 19, 2019 14:01
@sbrunner sbrunner requested a review from fredj August 19, 2019 15:15
@sbrunner sbrunner merged commit 8df2497 into master Aug 20, 2019
@sbrunner sbrunner deleted the greenkeeper/@typescript-eslint/parser-2.0.0 branch August 20, 2019 10:42
@sbrunner sbrunner added this to the dummy milestone Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants