Page MenuHomePhabricator

Set up stylelint for Codex
Closed, ResolvedPublic

Description

And look into whether it works properly with the PostCSS setup

Event Timeline

Related to the discussions around browser support (T293290), is there any way to warn for unsupported features similar to what you can do in ESLint?

Change 731858 had a related patch set uploaded (by Catrope; author: Catrope):

[design/codex@main] build: Configure stylelint and make pass

https://gerrit.wikimedia.org/r/731858

The attached patch configures stylelint to throw errors (not warnings) for unsupported features (based on the stylelint config in WVUI). What's considered unsupported is based on .browserslistrc, so once we decide which set of browsers to support on T293290, we can update .browserslistrc and that will control both stylelint and postcss.

Change 731858 merged by jenkins-bot:

[design/codex@main] build: Configure stylelint and make pass

https://gerrit.wikimedia.org/r/731858

This is resolved to me. The .browserslistrc update is covered in T293290 anyways.