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
Type: object

Properties

exclude string[]
uniqueItems=true
verbose boolean
always-semicolon boolean
block-indent string
color-case string
Values: "lower" "upper"
color-shorthand boolean

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

element-case string

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

Values: "lower" "upper"
eof-newline boolean

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

leading-zero boolean

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

quotes string
Values: "single" "double"
remove-empty-rulesets boolean
space-after-colon string
space-after-combinator string
space-after-opening-brace string

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

space-after-selector-delimiter string

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

space-after-closing-brace string

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

space-before-colon string
space-before-combinator string
space-before-opening-brace string

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

space-before-selector-delimiter string

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

space-between-declarations string

A space style between declarations in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config

strip-spaces boolean
unitless-zero boolean

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

vendor-prefix-align boolean

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

sort-order string[][]
tab-size boolean
sort-order-fallback string

A sort style of unknown properties in the current project https://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config