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

@ -14,7 +14,7 @@ RSpec.describe WizardSerializer do
json = MultiJson.load(MultiJson.dump(serializer.as_json))
expect(json["wizard"]["current_color_scheme"][0]["name"]).to eq("primary")
expect(json["wizard"]["current_color_scheme"][0]["hex"]).to eq("222222")
expect(json["wizard"]["current_color_scheme"][0]["hex"]).to eq("222")
end
it "should provide custom colors correctly" do