@perplex-digital/stylelint-config 8.0.6 → 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 +31 -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
|
@@ -226,6 +226,23 @@ const propertyGroups = [
|
|
|
226
226
|
'border-top-right-radius',
|
|
227
227
|
'border-bottom-right-radius',
|
|
228
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',
|
|
229
246
|
'border-image',
|
|
230
247
|
'border-image-source',
|
|
231
248
|
'border-image-slice',
|
|
@@ -350,6 +367,9 @@ const propertyGroups = [
|
|
|
350
367
|
*/
|
|
351
368
|
{
|
|
352
369
|
properties: [
|
|
370
|
+
'base-palette',
|
|
371
|
+
'override-colors',
|
|
372
|
+
'font-palette',
|
|
353
373
|
'color',
|
|
354
374
|
'-webkit-text-fill-color',
|
|
355
375
|
'-webkit-text-stroke',
|
|
@@ -372,12 +392,17 @@ const propertyGroups = [
|
|
|
372
392
|
'word-spacing',
|
|
373
393
|
'letter-spacing',
|
|
374
394
|
'hyphens',
|
|
395
|
+
'hyphenate-character',
|
|
396
|
+
'line-break',
|
|
375
397
|
'word-break',
|
|
376
398
|
'text-wrap',
|
|
399
|
+
'text-wrap-mode',
|
|
400
|
+
'text-wrap-style',
|
|
377
401
|
'word-wrap', // Legacy name for `overflow-wrap`
|
|
378
402
|
'overflow-wrap',
|
|
379
403
|
'tab-size',
|
|
380
404
|
'white-space',
|
|
405
|
+
'white-space-collapse',
|
|
381
406
|
],
|
|
382
407
|
},
|
|
383
408
|
|
|
@@ -452,7 +477,7 @@ const propertyGroups = [
|
|
|
452
477
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_color_adjustment#reference
|
|
453
478
|
*/
|
|
454
479
|
{
|
|
455
|
-
properties: ['color-scheme'],
|
|
480
|
+
properties: ['color-scheme', 'forced-color-adjust', 'print-color-adjust'],
|
|
456
481
|
},
|
|
457
482
|
|
|
458
483
|
/**
|
|
@@ -626,13 +651,16 @@ const propertyGroups = [
|
|
|
626
651
|
'flood-opacity',
|
|
627
652
|
'lighting-color',
|
|
628
653
|
|
|
654
|
+
'marker',
|
|
629
655
|
'marker-start',
|
|
630
656
|
'marker-mid',
|
|
631
657
|
'marker-end',
|
|
632
658
|
'stop-color',
|
|
633
659
|
'stop-opacity',
|
|
634
660
|
|
|
661
|
+
'paint-order',
|
|
635
662
|
'shape-rendering',
|
|
663
|
+
'text-rendering',
|
|
636
664
|
],
|
|
637
665
|
},
|
|
638
666
|
|
|
@@ -714,7 +742,7 @@ const propertyGroups = [
|
|
|
714
742
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_view_transitions#reference
|
|
715
743
|
*/
|
|
716
744
|
{
|
|
717
|
-
properties: ['view-transition-
|
|
745
|
+
properties: ['view-transition-name', 'view-transition-class'],
|
|
718
746
|
},
|
|
719
747
|
|
|
720
748
|
/**
|
|
@@ -762,7 +790,7 @@ const propertyGroups = [
|
|
|
762
790
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_motion_path#reference
|
|
763
791
|
*/
|
|
764
792
|
{
|
|
765
|
-
properties: ['offset', 'offset-
|
|
793
|
+
properties: ['offset', 'offset-position', 'offset-path', 'offset-distance', 'offset-rotate', 'offset-anchor'],
|
|
766
794
|
},
|
|
767
795
|
|
|
768
796
|
/**
|