Skip to content

css

Style sheets and the style blocks of components: the standard rules, one layout, and module classes that are defined and used. SCSS gets formatting only. The CSS guide explains the setup.

Check Stage Level What it does
css/stylelint commit recommended Lints every stylesheet with the standard stylelint rules: unknown properties, overridden selectors, and invalid values.
Setting What it sets
tools.stylelint.rules Options for the Stylelint rules that run at the level, which stay errors. Accept a finding with gspot ignore css/stylelint --rule <rule> --reason <why>.

gspot selects it in a scope with file extensions .css, .vue, .svelte.

Rule file Installed when
.gspot/configurations/language/css/rules/CSS.md Always
.gspot/configurations/language/css/rules/TAILWIND.md The repository has dependencies tailwindcss.
Tool Version
stylelint 16.23.1
stylelint-config-standard 39.0.0
postcss-html 2.0.0

gspot writes .gspot/configurations/language/css/stylelint.json.