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

Chore: Upgrade ESLint and Stylelint major versions #2696

Merged
merged 1 commit into from Jun 13, 2022

Conversation

brianzelip
Copy link
Collaborator

@brianzelip brianzelip commented Apr 30, 2022

This PR upgrades ESLint from v7 to v8, and Stylelint (plus related dependencies) from v13 to v14.

There are no significant changes to mention regarding ES lint.

Stylelint decreased its core scope to focus only on CSS, not Sass, Less, etc, so the tooling pipeline changed. Scss files are still first class citizens. But Less is now secondary as it becomes less fashionable, and as such has to reach into a PostCSS plugin for a new "custom syntax override" behavior. New lint rules were also introduced. This PR fixes errors from new linting rules and updates the config.

Description

Related JIRA Ticket or GitHub Issue

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have read the CONTRIBUTING document.
  • I have authority to submit this code.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Collaborator

@quoideneuf quoideneuf left a comment

Choose a reason for hiding this comment

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

👍

@quoideneuf quoideneuf merged commit e6ee732 into master Jun 13, 2022
@quoideneuf quoideneuf deleted the upgrade-eslintv8-stylelintv14 branch June 13, 2022 14:12
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.

None yet

2 participants