mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +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:
@ -658,7 +658,7 @@ RSpec.describe Stylesheet::Manager do
|
||||
).compile(force: true)
|
||||
|
||||
expect(stylesheet).not_to include("--primary: #CC0000;")
|
||||
expect(stylesheet).to include("--primary: #222222;") # from base scheme
|
||||
expect(stylesheet).to include("--primary: #222;") # from base scheme
|
||||
end
|
||||
|
||||
it "uses the correct scheme when a valid scheme id is used" do
|
||||
|
Reference in New Issue
Block a user