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

Outdated rules? #33

Open
K3vinF opened this issue Jan 25, 2024 · 1 comment
Open

Outdated rules? #33

K3vinF opened this issue Jan 25, 2024 · 1 comment

Comments

@K3vinF
Copy link

K3vinF commented Jan 25, 2024

When doing a new install of Stylelint, we get version 16.x.

In version 16.x the rules 'number-leading-zero' and 'string-quotes' are no longer available.

@mooore/stylelint-config/rules/default.js still requires these rules.
This causes 'Stylelint: Unknown rule ...' errors.

So I think the specific version of Stylelint that is required for this preset should be locked in package.json?
Or the outdated rules should be removed / refactored?

@K3vinF
Copy link
Author

K3vinF commented Jan 25, 2024

For anyone running into this issue too. When I switch to these versions:
"stylelint": "15",
"stylelint-config-standard": "34.0.0",
Everything works as expected.

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

No branches or pull requests

1 participant