Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

devDeps: update @metamask/eslint-config* from 11 to 12 #165

Closed
wants to merge 6 commits into from

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented Aug 31, 2023

@legobeat legobeat added the dependencies Pull requests that update a dependency file label Aug 31, 2023
@socket-security
Copy link

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
eslint-plugin-promise 6.1.1 None +0 67.1 kB eslint-community-bot
eslint-plugin-n 15.7.0 filesystem +4 883 kB weiran.zsd
@metamask/eslint-config-jest 11.1.0...12.1.0 None +2/-1 195 kB metamaskbot
@metamask/eslint-config-typescript 11.1.0...12.1.0 None +2/-1 204 kB metamaskbot
@metamask/eslint-config-nodejs 11.1.0...12.1.0 None +7/-3 1.16 MB metamaskbot
@metamask/eslint-config 11.1.0...12.1.0 None +1/-0 186 kB metamaskbot

🚮 Removed packages: [email protected]

@socket-security
Copy link

socket-security bot commented Aug 31, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

@legobeat
Copy link
Contributor Author

@SocketSecurity ignore [email protected]

fs access ok

@legobeat
Copy link
Contributor Author

@SocketSecurity ignore [email protected]

maintainership ok

@legobeat legobeat marked this pull request as ready for review August 31, 2023 20:30
@legobeat legobeat requested a review from a team as a code owner August 31, 2023 20:30
@legobeat legobeat force-pushed the devdeps-eslint branch 2 times, most recently from bc32f64 to c109492 Compare September 1, 2023 21:38
dependabot bot and others added 6 commits October 3, 2023 15:13
Bumps [@metamask/eslint-config-nodejs](https://github.com/MetaMask/eslint-config) from 11.1.0 to 12.1.0.
- [Release notes](https://github.com/MetaMask/eslint-config/releases)
- [Commits](MetaMask/eslint-config@v11.1.0...v12.1.0)

---
updated-dependencies:
- dependency-name: "@metamask/eslint-config-nodejs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [@metamask/eslint-config-typescript](https://github.com/MetaMask/eslint-config) from 11.1.0 to 12.1.0.
- [Release notes](https://github.com/MetaMask/eslint-config/releases)
- [Commits](MetaMask/eslint-config@v11.1.0...v12.1.0)

---
updated-dependencies:
- dependency-name: "@metamask/eslint-config-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@@ -7,6 +7,9 @@ module.exports = {
{
files: ['*.ts'],
extends: ['@metamask/eslint-config-typescript'],
rules: {
'@typescript-eslint/consistent-type-imports': 'off',
Copy link
Member

Choose a reason for hiding this comment

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

Can we solve this, rather than disabling the rule?

Copy link
Contributor Author

@legobeat legobeat Oct 3, 2023

Choose a reason for hiding this comment

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

I do believe so, but I consider that separate from the package upgrade.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But feel free to add on a commit if you think it fits better here.

Copy link

Choose a reason for hiding this comment

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

Hmm. I'm having second thoughts about always deferring lint violation fixes when we upgrade lint packages by disabling ESLint rules like this. The thing is that whether we make these fixes now or later, we still have to make them, and it's easy to forget about them in the swath of other maintenance tasks we need to make time for. I understand that in other packages (e.g. core), we chose to disable various ESLint rules in order to lighten the load of the resulting diff, and so the compromise we made was acceptable. But I wonder if it in smaller libraries like this it wouldn't add too much to the diff to address violations for this rule at the same time as the upgrade?

@legobeat legobeat marked this pull request as draft October 7, 2023 02:56
@legobeat
Copy link
Contributor Author

legobeat commented Oct 12, 2023

This was squashed, resubmitted and merged as duplicate #169

@legobeat legobeat closed this Oct 12, 2023
@legobeat legobeat deleted the devdeps-eslint branch October 12, 2023 01:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file help wanted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants