DEV: Introduce stylelint (#29852)

Stylelint is a css linter: https://stylelint.io/

As part of this change we have added two javascript scripts:

```
pnpm lint:css
pnpm lint:css:fix
```

Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for
configuration in VSCode.

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
This commit is contained in:
David Taylor
2025-01-20 15:27:42 +00:00
committed by GitHub
parent 89df65e843
commit d88ee33eb6
297 changed files with 3174 additions and 793 deletions

View File

@@ -74,6 +74,10 @@ jobs:
if: ${{ !cancelled() }}
run: pnpm lint:hbs
- name: Stylelint
if: ${{ !cancelled() }}
run: pnpm lint:css
- name: English locale lint (core)
if: ${{ !cancelled() }}
run: bundle exec ruby script/i18n_lint.rb "config/**/locales/{client,server}.en.yml"