Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunValidate ¶
RunValidate validates CSS syntax
Types ¶
type Options ¶
type Options struct {
Indent string // Indentation (default: " ")
Minify bool // Minify output
SortProps bool // Sort properties alphabetically
SortRules bool // Sort selectors alphabetically
}
Options configures the CSS formatter
type ValidateOptions ¶
type ValidateOptions struct {
JSON bool // Output as JSON
}
ValidateOptions configures CSS validation
type ValidateResult ¶
type ValidateResult = pkgcss.ValidateResult
ValidateResult is an alias for the pkg type
Click to show internal directories.
Click to hide internal directories.