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

MOL-29362: fix ESlint 9 BREAKING CHANGES #60

Merged

Conversation

Txabox
Copy link
Contributor

@Txabox Txabox commented Apr 23, 2024

Issues: MOL-29362

no longer needed. we use github actions for Open Source packages now

Issues: MOL-29362
@Txabox Txabox added the bug label Apr 23, 2024
no longer needed. we use github actions for Open Source packages now

Issues: MOL-29362
greenkeeper is deprecated in favor of Snyk

Issues: MOL-29362
after agreed this with Carlos Serrano, remove support for flow. We don't use it and it brings some unneeded complexity to the package.

BREAKING CHANGE: remove support for Flow

Issues: MOL-29362
thus, we are allowed to add comments to the rules

Issues: MOL-29362
eslint 9 is still too new and its ecosystem is simply not ready yet, so we (Carlos Serrano and me) decided to downgrade it to eslint 8. Also remove babel-eslint since it is discontinued in favour of the default eslint parser "espree"

BREAKING CHANGE: downgrade eslint from 9 to 8

Issues: MOL-29362
@Txabox Txabox force-pushed the fix/MOL-29362-fix-ESlint-9-migration-breaking-changes branch from 022d574 to 1d4383b Compare April 25, 2024 08:34
…emoved

as seen here: gajus/eslint-plugin-jsdoc#1031

BREAKING CHANGE: remove "jsdoc/newline-after-description" rule

Issues: MOL-29362
after discussed about it in the mol-fe-devs channel in Slack and having the approval of Carlos Serrano

BREAKING CHANGE: upgrade ecmaScript from 2017 to 2021

Issues: MOL-29362
this change addresses use cases in mol-fe-sync-bundler where local styles need to be loaded before absolute imports.

BREAKING CHANGE: The 'absolute-first' condition from the import/first rule has been removed.

Issues: MOL-29362
agreed with Carlos Serrano. we are not using mocha anymore in any relevant package

BREAKING CHANGE: remove support for eslint-plugin-mocha

Issues: MOL-29362
Issues: MOL-29362
Copy link

@georgerdpdmg georgerdpdmg left a comment

Choose a reason for hiding this comment

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

lgtm

@carpasse carpasse merged commit f856a06 into master May 2, 2024
1 check passed
@carpasse carpasse deleted the fix/MOL-29362-fix-ESlint-9-migration-breaking-changes branch May 2, 2024 16:02
Copy link

github-actions bot commented May 2, 2024

🎉 This PR is included in version 13.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

4 participants