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/eslint-plugin to the latest version 🚀 #47

Merged
merged 1 commit into from
Sep 10, 2019

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Aug 13, 2019

The devDependency @typescript-eslint/eslint-plugin 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: MIT

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 🌴

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Sep 2, 2019

Update to this version instead 🚀

Release Notes for v2.1.0

2.1.0 (2019-09-02)

Bug Fixes

  • eslint-plugin: [member-naming] should match constructor args (#771) (b006667)
  • eslint-plugin: [no-inferrable-types] ignore optional props (#918) (a4e625f)
  • eslint-plugin: [promise-function-async] Allow async get/set (#820) (cddfdca)
  • eslint-plugin: [require-await] Allow concise arrow function bodies (#826) (29fddfd)
  • eslint-plugin: [typedef] don't flag destructuring when variables is disabled (#819) (5603473)
  • eslint-plugin: [typedef] handle AssignmentPattern inside TSParameterProperty (#923) (6bd7f2d)
  • eslint-plugin: [unbound-method] Allow typeof expressions (Fixes #692) (#904) (344bafe)
  • eslint-plugin: [unbound-method] false positive in equality comparisons (#914) (29a01b8)
  • eslint-plugin: [unified-signatures] type comparison and exported nodes (#839) (580eceb)
  • eslint-plugin: readme typo (#867) (5eb40dc)
  • typescript-estree: improve missing project file error msg (#866) (8f3b0a8), closes #853

Features

  • [no-unnecessary-type-assertion] allow as const arrow functions (#876) (14c6f80)
  • eslint-plugin: [expl-func-ret-type] make error loc smaller (#919) (65eb993)
  • eslint-plugin: [no-type-alias] support tuples (#775) (c68e033)
  • eslint-plugin: add quotes [extension] (#762) (9f82099)
  • typescript-estree: Accept a glob pattern for options.project (#806) (9e5f21e)
Commits

The new version differs by 31 commits.

  • 6849dc8 chore: publish v2.1.0
  • 989c13a docs(eslint-plugin): [efrt] fix default values in docs
  • 65eb993 feat(eslint-plugin): [expl-func-ret-type] make error loc smaller (#919)
  • 6bd7f2d fix(eslint-plugin): [typedef] handle AssignmentPattern inside TSParameterProperty (#923)
  • a4e625f fix(eslint-plugin): [no-inferrable-types] ignore optional props (#918)
  • 29a01b8 fix(eslint-plugin): [unbound-method] false positive in equality comparisons (#914)
  • 344bafe fix(eslint-plugin): [unbound-method] Allow typeof expressions (Fixes #692) (#904)
  • 5603473 fix(eslint-plugin): [typedef] don't flag destructuring when variables is disabled (#819)
  • 16136f3 docs(eslint-plugin): correct typo in no-unused-vars (#910)
  • 5ab13a8 docs(eslint-plugin): no-var-requires: Add example for ES6 modules (#900)
  • cddfdca fix(eslint-plugin): [promise-function-async] Allow async get/set (#820)
  • 92e2b31 chore(parser): add types field to package.json (#893)
  • 29fddfd fix(eslint-plugin): [require-await] Allow concise arrow function bodies (#826)
  • 6a30de2 docs: update contributors list
  • 2a71023 docs(eslint-plugin): correct typo (#891)

There are 31 commits in total.

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Sep 9, 2019

Update to this version instead 🚀

@mcollina mcollina merged commit 1155da7 into master Sep 10, 2019
@mcollina mcollina deleted the greenkeeper/@typescript-eslint/eslint-plugin-2.0.0 branch September 10, 2019 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants