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

Build(deps-dev): bump @typescript-eslint/eslint-plugin from 2.34.0 to 4.19.0, run [GitHub GitlabCoverage F-Droid Wordpress VisualStudioAppCenter Ore Packagist] #6319

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps @typescript-eslint/eslint-plugin from 2.34.0 to 4.19.0.

Release notes

Sourced from @typescript-eslint/eslint-plugin's releases.

v4.19.0

4.19.0 (2021-03-22)

Bug Fixes

  • eslint-plugin: [member-delimiter-style] correct invalid fix for multiline with params on the same line (#3177) (7ad343b)
  • eslint-plugin: [promise-function-async] bad fixer with computed and literal methods (#3163) (e3a3ea0)
  • typescript-estree: [ts 4.2] add support for import type equal declaration (#3189) (6a25faf)

Features

  • eslint-plugin: [object-curly-spacing] support MappedType (#3176) (0557a43)
  • eslint-plugin: [unbound-method] improve error message (#3203) (5cc5d2e), closes #3201

v4.18.0

4.18.0 (2021-03-15)

Bug Fixes

  • eslint-plugin: [explicit-module-boundary-types] fixes #2864 related to functions in nested object properties (#3178) (55e1fba)
  • eslint-plugin: [no-extran-class] allowWithDecorator should ignore other errors (#3160) (a148673)

Features

  • eslint-plugin: add package type declaration (#3164) (08b058a)

v4.17.0

4.17.0 (2021-03-08)

Bug Fixes

  • eslint-plugin: [no-unnecessary-type-assertion] handle assignment (#3133) (cb22561)

Features

  • eslint-plugin: [strict-bool-expr] add fixes and suggestions (#2847) (3f9e9a1)

v4.16.1

4.16.1 (2021-03-01)

Bug Fixes

  • typescript-estree: update TS version range (#3127) (0473674)

... (truncated)

Changelog

Sourced from @typescript-eslint/eslint-plugin's changelog.

4.19.0 (2021-03-22)

Bug Fixes

  • eslint-plugin: [member-delimiter-style] correct invalid fix for multiline with params on the same line (#3177) (7ad343b)
  • eslint-plugin: [promise-function-async] bad fixer with computed and literal methods (#3163) (e3a3ea0)

Features

  • eslint-plugin: [object-curly-spacing] support MappedType (#3176) (0557a43)
  • eslint-plugin: [unbound-method] improve error message (#3203) (5cc5d2e), closes #3201

4.18.0 (2021-03-15)

Bug Fixes

  • eslint-plugin: [explicit-module-boundary-types] fixes #2864 related to functions in nested object properties (#3178) (55e1fba)
  • eslint-plugin: [no-extran-class] allowWithDecorator should ignore other errors (#3160) (a148673)

Features

  • eslint-plugin: add package type declaration (#3164) (08b058a)

4.17.0 (2021-03-08)

Bug Fixes

  • eslint-plugin: [no-unnecessary-type-assertion] handle assignment (#3133) (cb22561)

Features

  • eslint-plugin: [strict-bool-expr] add fixes and suggestions (#2847) (3f9e9a1)

... (truncated)

Commits
  • e823919 chore: publish v4.19.0
  • 7ad343b fix(eslint-plugin): [member-delimiter-style] correct invalid fix for multilin...
  • 5cc5d2e feat(eslint-plugin): [unbound-method] improve error message (#3203)
  • 0557a43 feat(eslint-plugin): [object-curly-spacing] support MappedType (#3176)
  • e3a3ea0 fix(eslint-plugin): [promise-function-async] bad fixer with computed and lite...
  • 56af989 refactor(eslint-plugin): [no-floating-promises] update code to use AST instea...
  • 6703df1 docs(eslint-plugin): [naming-convention] clarify literal regex notation vs. a...
  • 9ed3c50 refactor(eslint-plugin): use direct ts type guards instead of tsutils (#3193)
  • 3f4e9be chore: publish v4.18.0
  • 55e1fba fix(eslint-plugin): [explicit-module-boundary-types] fixes #2864 related to f...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Related to dependency updates label Mar 26, 2021
@shields-cd shields-cd temporarily deployed to shields-staging-pr-6319 March 26, 2021 12:28 Inactive
@calebcartwright calebcartwright changed the title Build(deps-dev): bump @typescript-eslint/eslint-plugin from 2.34.0 to 4.19.0 Build(deps-dev): bump @typescript-eslint/eslint-plugin from 2.34.0 to 4.19.0, run [GitHub GitlabCoverage F-Droid Wordpress VisualStudioAppCenter Ore Packagist] Mar 27, 2021
@calebcartwright calebcartwright temporarily deployed to shields-staging-pr-6319 March 27, 2021 02:04 Inactive
@calebcartwright calebcartwright temporarily deployed to shields-staging-pr-6319 March 27, 2021 02:05 Inactive
Comment on lines +144 to +162
camelcase:
[
'error',
{
ignoreDestructuring: true,
properties: 'never',
ignoreGlobals: true,
allow: ['^UNSAFE_'],
},
]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslint-config-standard applied a lot of configuration to this rule, which had to matched for parity in order to incorporate ignoreDestructuring

https://github.com/standard/eslint-config-standard/blob/8c5203f7e48177345a7aaf212cb0cb5915880096/eslintrc.json#L39-L43

@calebcartwright calebcartwright temporarily deployed to shields-staging-pr-6319 March 27, 2021 03:12 Inactive
@calebcartwright calebcartwright force-pushed the dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.19.0 branch from 086804d to 427a38a Compare March 27, 2021 03:16
@calebcartwright calebcartwright temporarily deployed to shields-staging-pr-6319 March 27, 2021 03:16 Inactive
Comment on lines +3 to 5
// eslint-disable-next-line
// @ts-ignore
import favicon from '../images/favicon.png'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switching to ts-expect-error will satiate eslint, but my editor was going nuts over it (which kinda makes sense given this is a raster file) so elected to just do an inline ignore

@calebcartwright
Copy link
Member

calebcartwright commented Mar 27, 2021

Decided to try to tackle this because it seemed like it was going to start being a major blocker. That turned out to be an awful decision as this was maddeningly horrifying upgrade 😆

Everything should be good to go now though, and this will obviate the need for #6325 (both the plugin and parser needed to be updated together anyway).

Went through this iteratively on a problem-by-problem basis and tried to commit early and often along the way to make it easier to review, so some of the commits have a tiny diff. I think it's probably worth circling back to some of those ts-ignore cases at a later date, but IMO it's not worth blocking the eslint-* upgrades here on trying to plugin a perfect explanatory comment especially given the impact/blocking nature of this upgrade on the gatsby and graphql packages

@PyvesB PyvesB added the blocker PRs and epics which block other work label Mar 27, 2021
PyvesB
PyvesB previously approved these changes Mar 27, 2021
Copy link
Member

@PyvesB PyvesB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've looked through the commits, changes look good to me. In agreement on "it's not worth blocking the eslint-* upgrades here on trying to plugin a perfect explanatory comment". 👍🏻

@calebcartwright calebcartwright merged commit ee83590 into master Mar 28, 2021
@calebcartwright calebcartwright deleted the dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.19.0 branch March 28, 2021 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker PRs and epics which block other work dependencies Related to dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants