Skip to content

Conversation

@vincentfretin
Copy link
Contributor

Fix stylelint integration that didn't work since years since we migrated to stylus and add it to GitHub CI.
We need postcss-styl to properly parse the .styl files. Some rules had to be disabled to be compatible with stylus (import-notation, no-invalid-position-at-import-rule, declaration-property-value-no-unknown that didin't know the unquote keyword), changed the stylus function for media query to simple css media query (with old prefix syntax, using 'media-feature-range-notation': 'prefix' in the config)
I disabled selector-class-pattern, selector-id-pattern, we won't change the case for some id or class. I also disabled no-descending-specificity too risky to change something here without careful review, and disabled value-keyword-case that did wrong auto fix.

@dmarcos dmarcos merged commit 2df072e into aframevr:master Dec 20, 2025
1 check passed
@vincentfretin vincentfretin deleted the fix-stylelint branch December 20, 2025 17:56
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

Successfully merging this pull request may close these issues.

2 participants