Page MenuHomePhabricator

Change .stylelintrc from JSON to JS
Closed, ResolvedPublic

Description

Background

As of v0.2.2, Codex is coming with .stylelintrc in JSON form as default. JSON isn't overly helpful when it comes to comments/documentation
And our Stylelint config is growing

Goal

To make the Codex Stylelint configuration more developer experience friendly, we should change it over to JavaScript, where
inline comments can be provided without twisting arms and legs. ESLint configuration is already in JS.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Volker_E renamed this task from Chenge .stylelintrc from JSON to JS to Change .stylelintrc from JSON to JS.Nov 9 2022, 3:28 AM

Change 854655 had a related patch set uploaded (by VolkerE; author: VolkerE):

[design/codex@main] build: Change Stylelint configuration file format to JS

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

Change 854655 merged by jenkins-bot:

[design/codex@main] build: Change Stylelint configuration file format to JS

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

Change 859597 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[mediawiki/core@master] Update Codex from v0.2.2 to v0.3.0

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

Change 859597 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.2.2 to v0.3.0

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