# 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.

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](/languages/css/) explains the setup.

## Checks

| Check                                               | Stage    | Level         | What it does                                                                                                            |
| --------------------------------------------------- | -------- | ------------- | ----------------------------------------------------------------------------------------------------------------------- |
| [`css/stylelint`](/reference/checks/css/stylelint/) | `commit` | `recommended` | Lints every stylesheet with the standard stylelint rules: unknown properties, overridden selectors, and invalid values. |

## Settings

| Setting                                                                 | What it sets                                                                                                                                                     |
| ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`tools.stylelint.rules`](/reference/gspot-toml/#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>`. |

## Selected when

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

## Rules for coding agents

| Rule file                                              | Installed when                                 |
| ------------------------------------------------------ | ---------------------------------------------- |
| `.gspot/configurations/language/css/rules/CSS.md`      | Always                                         |
| `.gspot/configurations/language/css/rules/TAILWIND.md` | The repository has dependencies `tailwindcss`. |

## Tools and versions

| Tool                      | Version   |
| ------------------------- | --------- |
| stylelint                 | `16.23.1` |
| stylelint-config-standard | `39.0.0`  |
| postcss-html              | `2.0.0`   |

## Files gspot writes

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