4 KiB
stylelint-declaration-strict-value - v1.9.2 / defaults / SecondaryOptions
Interface: SecondaryOptions
defaults.SecondaryOptions
Plugin secondary options.
Table of contents
Properties
- autoFixFunc
- disableFix
- expandShorthand
- ignoreFunctions
- ignoreKeywords
- ignoreValues
- ignoreVariables
- message
- recurseLonghand
- severity
Properties
autoFixFunc
• Optional
autoFixFunc: AutoFixFuncConfig
By default no auto-fix feature.
defaultvalue
null
Defined in
disableFix
• Optional
disableFix: boolean
Don't auto-fix if --fix
option is applied.
defaultvalue
false
Defined in
expandShorthand
• Optional
expandShorthand: boolean
Whether or not to expand shorthand CSS properties.
defaultvalue
false
Defined in
ignoreFunctions
• Optional
ignoreFunctions: IgnoreVariableOrFunctionConfig
Whether or not to ignore function.
defaultvalue
true
Defined in
ignoreKeywords
• Optional
ignoreKeywords: IgnoreValueConfig
An ignored keywords config.
defaultvalue
null
deprecated
use ignoreValues
option.
Defined in
ignoreValues
• Optional
ignoreValues: IgnoreValueConfig
An ignored values config.
defaultvalue
null
Defined in
ignoreVariables
• Optional
ignoreVariables: IgnoreVariableOrFunctionConfig
Whether or not to ignore variables.
defaultvalue
true
Defined in
message
• Optional
message: string
A custom message when a rule is violated, interpolated with ${types}
, ${value}
and ${property}
.
defaultvalue
undefined
Defined in
recurseLonghand
• Optional
recurseLonghand: boolean
Whether or not to expand longhand CSS properties recursivly - this is only useful for the border
property.
defaultvalue
false
Defined in
severity
• Optional
severity: string
Adjust severity of the rule, 'warning'
or 'error'
(default).
defaultvalue
'error'