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

Scripts: Deprecation warning when running wp-scripts lint-style #27775

Closed
gziolo opened this issue Dec 17, 2020 · 0 comments · Fixed by #27810
Closed

Scripts: Deprecation warning when running wp-scripts lint-style #27775

gziolo opened this issue Dec 17, 2020 · 0 comments · Fixed by #27810
Assignees
Labels
Needs Dev Ready for, and needs developer efforts [Status] In Progress Tracking issues with work in progress [Tool] WP Scripts /packages/scripts [Type] Bug An existing feature does not function as intended

Comments

@gziolo
Copy link
Member

gziolo commented Dec 17, 2020

Describe the bug

The following warning is printed when running wp-scripts lint-style:

Deprecation Warning: 'declaration-property-unit-whitelist' has been deprecated. Instead use 'declaration-property-unit-allowed-list'. See: https://github.com/stylelint/stylelint/blob/13.7.0/lib/rules/declaration-property-unit-whitelist/README.md

To reproduce
Steps to reproduce the behavior:

  1. npm init @wordpress/block esnext-example
  2. cd esnext-example
  3. npm run lint:css
  4. See the error

Expected behavior
No warnings.

@gziolo gziolo added [Type] Bug An existing feature does not function as intended Good First Issue An issue that's suitable for someone looking to contribute for the first time Needs Dev Ready for, and needs developer efforts [Tool] WP Scripts /packages/scripts labels Dec 17, 2020
@ocean90 ocean90 removed the Good First Issue An issue that's suitable for someone looking to contribute for the first time label Dec 17, 2020
@ocean90 ocean90 self-assigned this Dec 17, 2020
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Dev Ready for, and needs developer efforts [Status] In Progress Tracking issues with work in progress [Tool] WP Scripts /packages/scripts [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants