diff --git a/CHANGELOG.md b/CHANGELOG.md index 07f812c..76d8245 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * CSS: Increase minimum peer dependency of `stylelint` from 13 to 14. * CSS: Increase minimum peer dependency of `@wordpress/stylelint-config` from 19 to 20. +### Fixed +* CSS: Correctly set rules for `function-url-quotes` and `at-rule-no-unknown`. + ## [2.2.0] - 2021-07-15 ### Changed diff --git a/packages/stylelint-config/index.js b/packages/stylelint-config/index.js index 638d924..4d50d0e 100644 --- a/packages/stylelint-config/index.js +++ b/packages/stylelint-config/index.js @@ -37,13 +37,13 @@ module.exports = { 'Selector should use lowercase and hyphens to separate words or in BEM style: block-name__elem-name--mod-name (selector-class-pattern)', }, ], + 'function-url-quotes': [ + 'always', + { + except: [ 'empty' ], + }, + ], + // At-rules used by postcss-mixins. + 'at-rule-no-unknown': [ true, { ignoreAtRules: [ 'define-mixin', 'mixin' ] } ], }, - 'function-url-quotes': [ - 'always', - { - except: [ 'empty' ], - }, - ], - // At-rules used by postcss-mixins. - 'at-rule-no-unknown': [ true, { ignoreAtRules: [ 'define-mixin', 'mixin' ] } ], };