@jgarber/stylelint-config 1.0.1 → 1.2.0
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/index.js +13 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5,6 +5,19 @@ module.exports = {
|
|
|
5
5
|
],
|
|
6
6
|
plugins: ['stylelint-order'],
|
|
7
7
|
rules: {
|
|
8
|
+
/*
|
|
9
|
+
* Require an empty line before at-rules.
|
|
10
|
+
*
|
|
11
|
+
* @see {@linke https://stylelint.io/user-guide/rules/at-rule-empty-line-before/}
|
|
12
|
+
*/
|
|
13
|
+
'at-rule-empty-line-before': [
|
|
14
|
+
'always',
|
|
15
|
+
{
|
|
16
|
+
except: ['blockless-after-same-name-blockless', 'first-nested'],
|
|
17
|
+
ignore: ['after-comment']
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
|
|
8
21
|
/*
|
|
9
22
|
* Specify the alphabetical order of properties within declaration blocks.
|
|
10
23
|
*
|