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

Upgrade stylelint version to support the new rule names #44

Closed
miktirr opened this issue Oct 13, 2020 · 3 comments
Closed

Upgrade stylelint version to support the new rule names #44

miktirr opened this issue Oct 13, 2020 · 3 comments

Comments

@miktirr
Copy link

miktirr commented Oct 13, 2020

As per requested by the support of Code Climate, here is a separate issue regarding errors with the latest version of stylelint.

If one updates to the latest stylelint version (13.7.x) and to the new configuration practices, this engine throws the following error:

•• Timing: .engineConfig: 0.01s
Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
Error: Undefined rule declaration-property-value-disallowed-list
See our documentation at https://docs.codeclimate.com/docs/stylelint for more information.

This is because stylelint has deprecated *-blacklist, *-requirelist and *-whitelist rules in favor of the new *-disallowed-list, *-required-list and *-allowed-list ones in the version 13.70 (see more), and codeclimate-stylelint engine still uses the version 9.10.1.

Relates to #40

@gilbarbara
Copy link
Owner

Feel free to submit a PR.

@gilbarbara
Copy link
Owner

Updated in 2.3.0 (engine 13.7.2)

@efueger
Copy link

efueger commented Nov 13, 2020

Updated Code Climate to use @gilbarbara 's latest commits. 👍

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

3 participants