Skip to content

Commit 45d65ac

Browse files
committed
add shareable stylelint config
1 parent 683ee6b commit 45d65ac

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

config/.stylelintrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "stylelint-config-wordpress/scss"
2+
"extends": "@micropackage/scripts/stylelint-config"
33
}

stylelint-config.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
extends: [
3+
'stylelint-config-recommended',
4+
'stylelint-config-recommended-scss',
5+
],
6+
plugins: ['stylelint-order'],
7+
rules: {
8+
'order/order': ['custom-properties', 'declarations', 'rules'],
9+
},
10+
};

0 commit comments

Comments
 (0)