@perplex-digital/stylelint-config 8.0.5 → 17.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/package.json +71 -70
- package/src/property-groups.js +37 -3
package/package.json
CHANGED
|
@@ -1,72 +1,73 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
],
|
|
15
|
-
"homepage": "https://github.com/PerplexDigital/stylelint-config",
|
|
16
|
-
"bugs": "https://github.com/PerplexDigital/stylelint-config/issues",
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/PerplexDigital/stylelint-config.git"
|
|
20
|
-
},
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"author": "Tobias Boekwijt (https://perplex.nl/en/about-perplex/the-perplexers#tobias-boekwijt)",
|
|
23
|
-
"type": "module",
|
|
24
|
-
"exports": {
|
|
25
|
-
".": "./src/index.js",
|
|
26
|
-
"./order": "./src/order.js",
|
|
27
|
-
"./property-groups": "./src/property-groups.js"
|
|
28
|
-
},
|
|
29
|
-
"main": "src/index.js",
|
|
30
|
-
"files": [
|
|
31
|
-
"src/index.js",
|
|
32
|
-
"src/order.js",
|
|
33
|
-
"src/property-groups.js"
|
|
34
|
-
],
|
|
35
|
-
"lint-staged": {
|
|
36
|
-
"*.js": [
|
|
37
|
-
"eslint --fix",
|
|
38
|
-
"prettier --write"
|
|
2
|
+
"name": "@perplex-digital/stylelint-config",
|
|
3
|
+
"version": "17.0.0",
|
|
4
|
+
"description": "Order and Concentric-based property sorting for Stylelint.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"tailwind",
|
|
7
|
+
"logical properties",
|
|
8
|
+
"properties-order",
|
|
9
|
+
"property order",
|
|
10
|
+
"concentric",
|
|
11
|
+
"stylelint",
|
|
12
|
+
"stylelint-config",
|
|
13
|
+
"stylelint-order"
|
|
39
14
|
],
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"lint":
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
15
|
+
"homepage": "https://github.com/PerplexDigital/stylelint-config",
|
|
16
|
+
"bugs": "https://github.com/PerplexDigital/stylelint-config/issues",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/PerplexDigital/stylelint-config.git"
|
|
20
|
+
},
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"author": "Tobias Boekwijt (https://perplex.nl/en/about-perplex/the-perplexers#tobias-boekwijt)",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": "./src/index.js",
|
|
26
|
+
"./order": "./src/order.js",
|
|
27
|
+
"./property-groups": "./src/property-groups.js"
|
|
28
|
+
},
|
|
29
|
+
"main": "src/index.js",
|
|
30
|
+
"files": [
|
|
31
|
+
"src/index.js",
|
|
32
|
+
"src/order.js",
|
|
33
|
+
"src/property-groups.js"
|
|
34
|
+
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"lint": "eslint '**/*.js'",
|
|
37
|
+
"fix": "eslint '**/*.js' --fix",
|
|
38
|
+
"prepare": "husky",
|
|
39
|
+
"release": "changeset publish",
|
|
40
|
+
"test": "node --test"
|
|
41
|
+
},
|
|
42
|
+
"lint-staged": {
|
|
43
|
+
"*.js": [
|
|
44
|
+
"eslint --fix",
|
|
45
|
+
"prettier --write"
|
|
46
|
+
],
|
|
47
|
+
"package.json": "prettier --write"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@stylistic/stylelint-plugin": "^4.0.1",
|
|
51
|
+
"stylelint-config-recommended-vue": "^1.6.1",
|
|
52
|
+
"stylelint-config-standard": "^40.0.0",
|
|
53
|
+
"stylelint-high-performance-animation": "^1.11.0",
|
|
54
|
+
"stylelint-order": "^7.0.1",
|
|
55
|
+
"stylelint-use-logical-spec": "^5.0.1"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@changesets/cli": "^2.29.8",
|
|
59
|
+
"@commitlint/cli": "^20.3.1",
|
|
60
|
+
"@commitlint/config-conventional": "^20.3.1",
|
|
61
|
+
"@nuxt/eslint-config": "^1.12.1",
|
|
62
|
+
"@zazen/changesets-changelog": "^2.0.3",
|
|
63
|
+
"eslint": "^9.39.2",
|
|
64
|
+
"husky": "^9.1.7",
|
|
65
|
+
"lint-staged": "^16.2.7",
|
|
66
|
+
"prettier": "^3.8.0",
|
|
67
|
+
"stylelint": "^17.0.0",
|
|
68
|
+
"typescript": "^5.9.3"
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"stylelint": ">=17.0.0"
|
|
72
|
+
}
|
|
73
|
+
}
|
package/src/property-groups.js
CHANGED
|
@@ -178,6 +178,9 @@ const propertyGroups = [
|
|
|
178
178
|
'border-style',
|
|
179
179
|
'border-width',
|
|
180
180
|
'border-block',
|
|
181
|
+
'border-block-color',
|
|
182
|
+
'border-block-style',
|
|
183
|
+
'border-block-width',
|
|
181
184
|
'border-block-start',
|
|
182
185
|
'border-block-start-color',
|
|
183
186
|
'border-block-start-style',
|
|
@@ -187,6 +190,9 @@ const propertyGroups = [
|
|
|
187
190
|
'border-block-end-style',
|
|
188
191
|
'border-block-end-width',
|
|
189
192
|
'border-inline',
|
|
193
|
+
'border-inline-color',
|
|
194
|
+
'border-inline-style',
|
|
195
|
+
'border-inline-width',
|
|
190
196
|
'border-inline-start',
|
|
191
197
|
'border-inline-start-color',
|
|
192
198
|
'border-inline-start-style',
|
|
@@ -220,6 +226,23 @@ const propertyGroups = [
|
|
|
220
226
|
'border-top-right-radius',
|
|
221
227
|
'border-bottom-right-radius',
|
|
222
228
|
'border-bottom-left-radius',
|
|
229
|
+
'corner-shape',
|
|
230
|
+
'corner-block-start-shape',
|
|
231
|
+
'corner-block-end-shape',
|
|
232
|
+
'corner-inline-start-shape',
|
|
233
|
+
'corner-inline-end-shape',
|
|
234
|
+
'corner-start-start-shape',
|
|
235
|
+
'corner-start-end-shape',
|
|
236
|
+
'corner-end-start-shape',
|
|
237
|
+
'corner-end-end-shape',
|
|
238
|
+
'corner-top-shape',
|
|
239
|
+
'corner-right-shape',
|
|
240
|
+
'corner-bottom-shape',
|
|
241
|
+
'corner-left-shape',
|
|
242
|
+
'corner-top-left-shape',
|
|
243
|
+
'corner-top-right-shape',
|
|
244
|
+
'corner-bottom-right-shape',
|
|
245
|
+
'corner-bottom-left-shape',
|
|
223
246
|
'border-image',
|
|
224
247
|
'border-image-source',
|
|
225
248
|
'border-image-slice',
|
|
@@ -344,6 +367,9 @@ const propertyGroups = [
|
|
|
344
367
|
*/
|
|
345
368
|
{
|
|
346
369
|
properties: [
|
|
370
|
+
'base-palette',
|
|
371
|
+
'override-colors',
|
|
372
|
+
'font-palette',
|
|
347
373
|
'color',
|
|
348
374
|
'-webkit-text-fill-color',
|
|
349
375
|
'-webkit-text-stroke',
|
|
@@ -366,12 +392,17 @@ const propertyGroups = [
|
|
|
366
392
|
'word-spacing',
|
|
367
393
|
'letter-spacing',
|
|
368
394
|
'hyphens',
|
|
395
|
+
'hyphenate-character',
|
|
396
|
+
'line-break',
|
|
369
397
|
'word-break',
|
|
370
398
|
'text-wrap',
|
|
399
|
+
'text-wrap-mode',
|
|
400
|
+
'text-wrap-style',
|
|
371
401
|
'word-wrap', // Legacy name for `overflow-wrap`
|
|
372
402
|
'overflow-wrap',
|
|
373
403
|
'tab-size',
|
|
374
404
|
'white-space',
|
|
405
|
+
'white-space-collapse',
|
|
375
406
|
],
|
|
376
407
|
},
|
|
377
408
|
|
|
@@ -446,7 +477,7 @@ const propertyGroups = [
|
|
|
446
477
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_color_adjustment#reference
|
|
447
478
|
*/
|
|
448
479
|
{
|
|
449
|
-
properties: ['color-scheme'],
|
|
480
|
+
properties: ['color-scheme', 'forced-color-adjust', 'print-color-adjust'],
|
|
450
481
|
},
|
|
451
482
|
|
|
452
483
|
/**
|
|
@@ -620,13 +651,16 @@ const propertyGroups = [
|
|
|
620
651
|
'flood-opacity',
|
|
621
652
|
'lighting-color',
|
|
622
653
|
|
|
654
|
+
'marker',
|
|
623
655
|
'marker-start',
|
|
624
656
|
'marker-mid',
|
|
625
657
|
'marker-end',
|
|
626
658
|
'stop-color',
|
|
627
659
|
'stop-opacity',
|
|
628
660
|
|
|
661
|
+
'paint-order',
|
|
629
662
|
'shape-rendering',
|
|
663
|
+
'text-rendering',
|
|
630
664
|
],
|
|
631
665
|
},
|
|
632
666
|
|
|
@@ -708,7 +742,7 @@ const propertyGroups = [
|
|
|
708
742
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_view_transitions#reference
|
|
709
743
|
*/
|
|
710
744
|
{
|
|
711
|
-
properties: ['view-transition-
|
|
745
|
+
properties: ['view-transition-name', 'view-transition-class'],
|
|
712
746
|
},
|
|
713
747
|
|
|
714
748
|
/**
|
|
@@ -756,7 +790,7 @@ const propertyGroups = [
|
|
|
756
790
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_motion_path#reference
|
|
757
791
|
*/
|
|
758
792
|
{
|
|
759
|
-
properties: ['offset', 'offset-
|
|
793
|
+
properties: ['offset', 'offset-position', 'offset-path', 'offset-distance', 'offset-rotate', 'offset-anchor'],
|
|
760
794
|
},
|
|
761
795
|
|
|
762
796
|
/**
|