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

MNT Replace sass-lint with stylelint #22

Merged

Conversation

sabina-talipova
Copy link
Contributor

Description

Stylelint has about 100 rules, which are turned on by default (See).
This PR removed support of old sass-lint and implemented new stylelint. New file .stylelintrc.yml add some configuration for default rules and also turn off some rules that we doesn't support. Probably they required additional review.

Issues

@@ -0,0 +1,99 @@
module.exports = {
'defaultSeverity': 'warning',
Copy link
Member

Choose a reason for hiding this comment

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

I'm okay with this line being here for now, but I've added an AC for it to be removed as part of silverstripe/.github#228

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Looks okay to me. I'll retarget to 1 so it can be a new minor release, then I'll merge and publish in npm

@GuySartorelli GuySartorelli changed the base branch from 1.1 to 1 April 23, 2024 21:51
@GuySartorelli GuySartorelli merged commit 894bb6e into silverstripe:1 Apr 23, 2024
@GuySartorelli GuySartorelli deleted the pulls/1.1/stylelint branch April 23, 2024 21:51
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.

2 participants