diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 000000000..eacc08cb0 --- /dev/null +++ b/.stylelintrc @@ -0,0 +1,10 @@ +{ + "extends": "stylelint-config-standard", + "plugins": [ + "stylelint-order" + ], + "rules": { + "no-descending-specificity": null, + "order/properties-alphabetical-order": true + } +} diff --git a/postcss.config.js b/postcss.config.js index 88de663df..29f9daf85 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -15,6 +15,8 @@ module.exports = { 'postcss-header': { header: rollupConfig.output[0].banner, }, - stylefmt: {}, + stylelint: { + fix: true, + }, }, };