@primer/stylelint-config 13.0.1-rc.6de0604 → 13.0.1-rc.bbe2b12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/plugins/lib/variable-rules.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -762,7 +762,7 @@ function createVariableRule(ruleName, rules, url) {
|
|
|
762
762
|
|
|
763
763
|
// The stylelint docs suggest respecting a "disableFix" rule option that
|
|
764
764
|
// overrides the "global" context.fix (--fix) linting option.
|
|
765
|
-
const {disableFix} = options;
|
|
765
|
+
const {verbose = false, disableFix} = options;
|
|
766
766
|
const fixEnabled = context && context.fix && !disableFix;
|
|
767
767
|
const seen = new WeakMap();
|
|
768
768
|
|
package/dist/index.mjs
CHANGED
|
@@ -759,7 +759,7 @@ function createVariableRule(ruleName, rules, url) {
|
|
|
759
759
|
|
|
760
760
|
// The stylelint docs suggest respecting a "disableFix" rule option that
|
|
761
761
|
// overrides the "global" context.fix (--fix) linting option.
|
|
762
|
-
const {disableFix} = options;
|
|
762
|
+
const {verbose = false, disableFix} = options;
|
|
763
763
|
const fixEnabled = context && context.fix && !disableFix;
|
|
764
764
|
const seen = new WeakMap();
|
|
765
765
|
|
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ export function createVariableRule(ruleName, rules, url) {
|
|
|
30
30
|
|
|
31
31
|
// The stylelint docs suggest respecting a "disableFix" rule option that
|
|
32
32
|
// overrides the "global" context.fix (--fix) linting option.
|
|
33
|
-
const {disableFix} = options
|
|
33
|
+
const {verbose = false, disableFix} = options
|
|
34
34
|
const fixEnabled = context && context.fix && !disableFix
|
|
35
35
|
const seen = new WeakMap()
|
|
36
36
|
|