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

sass-lint was abandoned 5 years ago #69

Closed
emteknetnz opened this issue Apr 3, 2024 · 7 comments
Closed

sass-lint was abandoned 5 years ago #69

emteknetnz opened this issue Apr 3, 2024 · 7 comments

Comments

@emteknetnz
Copy link
Member

emteknetnz commented Apr 3, 2024

We have an ancient version of sass-lint in @silverstripe/webpack-config which triggers dependabot alerts due to some of its own dependencies, which is annoying because it's only a dev dependency so there's no risk to production sites. sass-lint was abandoned 5 years ago, we're already on the latest version of it

We should migrate to something else, probably stylelint

Acceptance criteria

  • CMS 5 webpack config is updated to use a supported library to lint its stylesheets.
  • CMS 5 eslint config is updated to use a supported library to lint its stylesheets.
  • CMS 5 supported modules are updated to use the latest version of our cms 5 webpackconfig and eslint config.
  • Any linting change are addressed to make sure the builds are green

Related

PRs

NEW PRs

Additional task

Note

Disabled rules were excluded according to the principle that the more errors, the greater the likelihood that this rule was not previously supported in the module. But they still require review in each module.

@emteknetnz emteknetnz changed the title Use something that's not sass-lint sass-lint was abandoned 5 years ago Apr 3, 2024
@maxime-rainville maxime-rainville added this to the Silverstripe CMS 5.3 milestone Apr 7, 2024
@maxime-rainville
Copy link
Contributor

Random questions:

  • I'm assuming this can be done in a minor since those are dev dependencies?
  • Do we know why this wasn't flag in our CMS 5 dependency upgrades?

@emteknetnz
Copy link
Member Author

  • It's only dev dependencies so I think it could probably be done in a patch
  • I don't know why it wasn't flagged in CMS 5 dep upgrades

@maxime-rainville
Copy link
Contributor

Guy says: We did catch it, but decided it didn't matter. We're just fixing this now to shut up the dependabot alerts.

@sabina-talipova sabina-talipova self-assigned this Apr 14, 2024
This was referenced Apr 19, 2024
@sabina-talipova sabina-talipova removed their assignment Apr 22, 2024
@GuySartorelli
Copy link
Member

PRs merged

@sabina-talipova
Copy link
Contributor

I reopen it, since I missed some modules.

@emteknetnz
Copy link
Member Author

All merged and merged-up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants