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

Stylelint: Undefined rule declaration-property-unit-allowed-list #1823

Open
praliedutzel opened this issue Oct 27, 2020 · 0 comments
Open

Stylelint: Undefined rule declaration-property-unit-allowed-list #1823

praliedutzel opened this issue Oct 27, 2020 · 0 comments

Comments

@praliedutzel
Copy link

Stylelint recently renamed declaration-property-unit-whitelist to declaration-property-unit-allowed-list, which is causing Hound to throw an error:

Error: Undefined rule declaration-property-unit-allowed-list
    at module.exports (/home/linters/app/versions/stylelint-10.1.0/node_modules/stylelint/lib/utils/configurationError.js:8:28)
    at Object.keys.forEach.ruleName (/home/linters/app/versions/stylelint-10.1.0/node_modules/stylelint/lib/augmentConfig.js:325:13)
    at Array.forEach ()
    at normalizeAllRuleSettings (/home/linters/app/versions/stylelint-10.1.0/node_modules/stylelint/lib/augmentConfig.js:318:29)
    at augmentConfigBasic.then.then.then.augmentedConfig (/home/linters/app/versions/stylelint-10.1.0/node_modules/stylelint/lib/augmentConfig.js:94:14)

There might also be errors for the other renamed rules that were updated in stylelint v13.7.0, although this was the first one I encountered. The full list can be found here: https://github.com/stylelint/stylelint/releases/tag/13.7.0

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

No branches or pull requests

1 participant