mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 02:14:58 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user