CSS Comb (.csscomb.json)
CSS Comb's configuration file
| Type | object |
|---|---|
| File match |
.csscomb.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/css-comb-csscomb-json/latest.json |
| Source | https://www.schemastore.org/csscomb.json |
Validate with Lintel
npx @lintel/lintel check
Properties
A list of files to ignore in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
Whether to add missing semicolon in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A block indent style in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A hexadecimal color style in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
Whether to expand hexadecimal color or use shorthand in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
Whether to unify case of element selector in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
Whether to add a trailing line break in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
Whether to add leading zero in a dimension in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A quote style in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
Whether to remove empty rulesets https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style after a colon in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style after a combinator in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style after an opening brace in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style after a selector delimiter in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style after a closing brace in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style before a colon in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style before a combinator in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style before an opening brace in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style before a selector delimiter in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A space style between declarations in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
Whether to trim trailing space in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
Whether to remove unit in zero-valued dimension in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
Whether to align prefix in property and value in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A sort order in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config
A sort style of unknown properties in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config