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 to version 16, adding container query support in CSS validation #16062

Open
JasonWeill opened this issue Mar 27, 2024 · 0 comments

Comments

@JasonWeill
Copy link
Contributor

Problem

JupyterLab uses Stylelint 15, which does not support container queries, and probably other features supported by the modern browser that JupyterLab works with. PR #15948 had to suppress stylelint for these queries.

Proposed Solution

Upgrade Stylelint to v. 16, and upgrade related dependencies. Remove stylelint-config-prettier because, according to its README:

As of Stylelint v15 all style-related rules have been deprecated. If you are using v15 or higher and are not making use of these deprecated rules, this plugin is no longer necessary.

Additional context

stylelint-csstree-validator 3.0.0 does not support Stylelint 16 (csstree/stylelint-validator#58), although there is a pull request to add support for it (csstree/stylelint-validator#59). We need a new version of stylelint-csstree-validator to be able to implement this.

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

No branches or pull requests

1 participant