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

feat: allow eslint-plugin-promise 6 #198

Closed

Conversation

nschonni
Copy link
Contributor

Expand the peerDependency and add a CI matrix to test it

Expand the peerDependency and add a CI matrix to test it
@welcome
Copy link

welcome bot commented Dec 22, 2021

🙌 Thanks for opening this pull request! You're awesome.

@@ -50,7 +50,7 @@
"eslint": "^7.12.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1 || ^5.0.0"
"eslint-plugin-promise": "^4.2.1 || ^5.0.0 || ^6.0.0"
Copy link
Contributor Author

@nschonni nschonni Dec 22, 2021

Choose a reason for hiding this comment

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

Alternatly, this could just change to >=4.21, keep the testing, and update the devDep

Copy link
Member

Choose a reason for hiding this comment

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

I like specifying the upper version that complies with the standard rule set, so an upgrade doesn't cause unintentional rule changes

@voxpelli
Copy link
Member

Would be helpful with an explanation of why this new major version isn't breaking from our perspective.

@nschonni
Copy link
Contributor Author

The v6 is more about ESLint 8 compat, but I added the CI testing to ensure that there is not conflicts going forward, since you seem to have set v4 as a baseline

@voxpelli
Copy link
Member

Right. Looks like it's the node version that's the breaking change

@nschonni
Copy link
Contributor Author

I can add the Node version matrix as well here if you want

strategy:
fail-fast: false
matrix:
eslint-plugin-promise:
Copy link
Member

Choose a reason for hiding this comment

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

I would prefer to have this in something like a compat.yml, to keep the main CI file as lean as possible

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Extra YML files here would be interpreted as malformed workflow files. Might be something for when you go for the org-wide action approach and need a repo specific override file

@@ -50,7 +50,7 @@
"eslint": "^7.12.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1 || ^5.0.0"
"eslint-plugin-promise": "^4.2.1 || ^5.0.0 || ^6.0.0"
Copy link
Member

Choose a reason for hiding this comment

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

I like specifying the upper version that complies with the standard rule set, so an upgrade doesn't cause unintentional rule changes

@voxpelli
Copy link
Member

I can add the Node version matrix as well here if you want

Not necessary I think

Copy link
Member

@theoludwig theoludwig left a comment

Choose a reason for hiding this comment

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

Hey! 😄

Thanks for your PR, but this will already be fixed by this PR: #193 that hopefully, we will soon merge and release, it is ready, I'm waiting for reviews.

@nschonni
Copy link
Contributor Author

@divlo yeah, I'm aware of the other PR, but it seems stalled because of the multiple changes. I opened this to fix one of the issues the other PR was dealing with that should be easier to land

@theoludwig
Copy link
Member

The PR #193 has been landed and released in the prerelease 17.0.0-0.

@theoludwig theoludwig closed this Jan 7, 2022
@nschonni nschonni deleted the eslint-plugin-promise-matrix branch January 7, 2022 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants