Skip to content

Commit

Permalink
fix: disable expandShorthand by default
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Apr 30, 2020
1 parent 3a63dab commit 5c1fe00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @property {boolean} [ignoreFunctions=true] - Wheter or not to ignore function.
* @property {null|number|string|Array|object} [ignoreKeywords=null] - **DEPRECATED:** An ignored keywords config.
* @property {number|string|RegExp|Array|object} [ignoreValues=null] - An ignored values config.
* @property {boolean} [expandShorthand=true] - Wheter or not to expand shorthand CSS properties.
* @property {boolean} [expandShorthand=false] - Wheter or not to expand shorthand CSS properties.
* @property {boolean} [recurseLonghand=false] - Wheter or not to expand longhand CSS properties recursivly - this is only useful for the border property.
* @property {string} [severity='error'] - Adjust severity of the rule, `'warning'` or `'error'` (default).
* @property {null|string} [message=null] - A custom message when a rule is violated, interpolated with `${types}`, `${value}` and `${property}`.
Expand All @@ -22,7 +22,7 @@
* @property {boolean} [ignoreFunctions=true] - Ignore function by default.
* @property {null} [ignoreKeywords=null] - **DEPRECATED:** Forbid keywords by default.
* @property {null} [ignoreValues=null] - Forbid values by default.
* @property {boolean} [expandShorthand=true] - Expand shorthand CSS properties.
* @property {boolean} [expandShorthand=false] - Expand shorthand CSS properties.
* @property {boolean} [recurseLonghand=false] - Do not expand longhand properties recursivly - only useful for `border`.
* @property {string} [severity='error'] - This rule's default severity is `'error'`.
* @property {null} [message=null] - Use default message.
Expand All @@ -35,7 +35,7 @@ const defaults = {
ignoreFunctions: true,
ignoreKeywords: null,
ignoreValues: null,
expandShorthand: true,
expandShorthand: false,
recurseLonghand: false,
severity: 'error',
message: null,
Expand Down

0 comments on commit 5c1fe00

Please sign in to comment.