@jgarber/stylelint-config 2.0.0 → 3.0.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 +15 -26
- package/package.json +8 -8
package/index.js
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
extends: [
|
|
3
|
-
'stylelint-config-standard',
|
|
4
|
-
'stylelint-stylistic/config'
|
|
5
|
-
],
|
|
2
|
+
extends: ['stylelint-config-standard', '@stylistic/stylelint-config'],
|
|
6
3
|
plugins: ['stylelint-order'],
|
|
7
4
|
rules: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
* @see {@linke https://stylelint.io/user-guide/rules/at-rule-empty-line-before/}
|
|
12
|
-
*/
|
|
5
|
+
// Require an empty line before at-rules.
|
|
6
|
+
//
|
|
7
|
+
// https://stylelint.io/user-guide/rules/at-rule-empty-line-before/
|
|
13
8
|
'at-rule-empty-line-before': [
|
|
14
9
|
'always',
|
|
15
10
|
{
|
|
@@ -18,25 +13,19 @@ module.exports = {
|
|
|
18
13
|
}
|
|
19
14
|
],
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* @see {@link https://github.com/hudochenkov/stylelint-order/blob/master/rules/properties-alphabetical-order/README.md}
|
|
25
|
-
*/
|
|
16
|
+
// Specify the alphabetical order of properties within declaration blocks.
|
|
17
|
+
//
|
|
18
|
+
// https://github.com/hudochenkov/stylelint-order/blob/master/rules/properties-alphabetical-order/README.md
|
|
26
19
|
'order/properties-alphabetical-order': true,
|
|
27
20
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*/
|
|
33
|
-
'stylistic/linebreaks': 'unix',
|
|
21
|
+
// Specify Unix or Windows linebreaks.
|
|
22
|
+
//
|
|
23
|
+
// https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/linebreaks
|
|
24
|
+
'@stylistic/linebreaks': 'unix',
|
|
34
25
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
*/
|
|
40
|
-
'stylistic/unicode-bom': 'never'
|
|
26
|
+
// Disallow the Unicode Byte Order Mark.
|
|
27
|
+
//
|
|
28
|
+
// https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/unicode-bom
|
|
29
|
+
'@stylistic/unicode-bom': 'never'
|
|
41
30
|
}
|
|
42
31
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jgarber/stylelint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Shareable Stylelint configuration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stylelint",
|
|
@@ -24,20 +24,20 @@
|
|
|
24
24
|
"test": "ava"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"stylelint-config
|
|
28
|
-
"stylelint-
|
|
29
|
-
"stylelint-
|
|
27
|
+
"@stylistic/stylelint-config": "^1.0.1",
|
|
28
|
+
"stylelint-config-standard": "^36.0.0",
|
|
29
|
+
"stylelint-order": "^6.0.4"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@jgarber/eslint-config": "^3.0.0",
|
|
33
|
-
"ava": "^
|
|
34
|
-
"stylelint": "^
|
|
33
|
+
"ava": "^6.0.1",
|
|
34
|
+
"stylelint": "^16.1.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"stylelint": ">=
|
|
37
|
+
"stylelint": ">=16.1"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
|
-
"node": ">=18.
|
|
40
|
+
"node": ">=18.12.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|