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

Support ESLint 8.x #336

Merged
merged 10 commits into from
Oct 20, 2021
Merged

Support ESLint 8.x #336

merged 10 commits into from
Oct 20, 2021

Conversation

fisker
Copy link
Contributor

@fisker fisker commented Oct 20, 2021

Fixes #335

@fisker fisker marked this pull request as ready for review October 20, 2021 03:10
- uses: codecov/codecov-action@v2
# `xo` can't work on ESLint 8 and Node.js 16 yet
- if: ${{ matrix.node-version == '^14.17' }}
run: npm install eslint@7 && npx xo
Copy link
Member

Choose a reason for hiding this comment

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

Why does XO fail if the package has ESLint 8 installed?

Copy link
Contributor Author

@fisker fisker Oct 20, 2021

Choose a reason for hiding this comment

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

Because eslint-plugin-unicorn in xo don't support eslint 8, we can fix it by adding eslint-plugin-unicorn to dependencies, but I don't think it's necessary, because xo is blocking by eslint-plugin-ava, we'll get new xo very soon.

Copy link
Member

Choose a reason for hiding this comment

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

How strange; I get it with npm 8 and it seems to be some resolution error. It's weird because you'd think the dependencies are scoped within the package. But fine, please do circle back when it's all done.

@novemberborn novemberborn merged commit 5730f92 into avajs:main Oct 20, 2021
@novemberborn
Copy link
Member

@fisker @sindresorhus is this a breaking change or a minor release?

@fisker
Copy link
Contributor Author

fisker commented Oct 20, 2021

Minor.

@fisker fisker deleted the eslint8 branch October 20, 2021 17:53
@novemberborn
Copy link
Member

Published as 13.1.

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.

Support ESLint 8.x
3 participants