@perplex-digital/stylelint-config 17.0.0 → 17.1.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/README.md +2 -2
- package/package.json +70 -71
- package/src/index.js +1 -2
- package/src/property-groups.js +37 -2
package/README.md
CHANGED
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
## Advanced
|
|
34
34
|
|
|
35
35
|
The default setup applies these rules:
|
|
36
|
-
- `stylelint-config-standard`
|
|
37
|
-
- `stylelint-config-recommended-vue`
|
|
36
|
+
- `@dreamsicle.io/stylelint-config-tailwindcss` (including `stylelint-config-standard`)
|
|
37
|
+
- `stylelint-config-recommended-vue` (including `stylelint-config-recommended` and `stylelint-config-html`)
|
|
38
38
|
- `@stylistic/stylelint-plugin`,
|
|
39
39
|
- `stylelint-use-logical-spec`
|
|
40
40
|
- `stylelint-high-performance-animation`
|
package/package.json
CHANGED
|
@@ -1,73 +1,72 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
"name": "@perplex-digital/stylelint-config",
|
|
3
|
+
"version": "17.1.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"
|
|
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"
|
|
14
39
|
],
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"lint
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
}
|
|
40
|
+
"package.json": "prettier --write"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@dreamsicle.io/stylelint-config-tailwindcss": "^1.2.1",
|
|
44
|
+
"@stylistic/stylelint-plugin": "^4.0.1",
|
|
45
|
+
"stylelint-config-recommended-vue": "^1.6.1",
|
|
46
|
+
"stylelint-high-performance-animation": "^1.11.0",
|
|
47
|
+
"stylelint-order": "^7.0.1",
|
|
48
|
+
"stylelint-use-logical-spec": "^5.0.1"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@changesets/cli": "^2.29.8",
|
|
52
|
+
"@commitlint/cli": "^20.3.1",
|
|
53
|
+
"@commitlint/config-conventional": "^20.3.1",
|
|
54
|
+
"@nuxt/eslint-config": "^1.13.0",
|
|
55
|
+
"@zazen/changesets-changelog": "^2.0.3",
|
|
56
|
+
"eslint": "^9.39.2",
|
|
57
|
+
"husky": "^9.1.7",
|
|
58
|
+
"lint-staged": "^16.2.7",
|
|
59
|
+
"prettier": "^3.8.1",
|
|
60
|
+
"stylelint": "^17.0.0",
|
|
61
|
+
"typescript": "^5.9.3"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"stylelint": ">=17.0.0"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"lint": "eslint '**/*.js'",
|
|
68
|
+
"fix": "eslint '**/*.js' --fix",
|
|
69
|
+
"release": "changeset publish",
|
|
70
|
+
"test": "node --test"
|
|
71
|
+
}
|
|
72
|
+
}
|
package/src/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import order from './order.js';
|
|
|
2
2
|
import propertyGroups from './property-groups.js';
|
|
3
3
|
|
|
4
4
|
const config = {
|
|
5
|
-
extends: ['stylelint-config-
|
|
5
|
+
extends: ['@dreamsicle.io/stylelint-config-tailwindcss', 'stylelint-config-recommended-vue'],
|
|
6
6
|
plugins: [
|
|
7
7
|
'@stylistic/stylelint-plugin',
|
|
8
8
|
'stylelint-order',
|
|
@@ -38,7 +38,6 @@ const config = {
|
|
|
38
38
|
},
|
|
39
39
|
],
|
|
40
40
|
'function-no-unknown': null,
|
|
41
|
-
'import-notation': 'string',
|
|
42
41
|
'no-descending-specificity': null,
|
|
43
42
|
'no-empty-source': [
|
|
44
43
|
true,
|
package/src/property-groups.js
CHANGED
|
@@ -217,6 +217,23 @@ const propertyGroups = [
|
|
|
217
217
|
'border-left-color',
|
|
218
218
|
'border-left-style',
|
|
219
219
|
'border-left-width',
|
|
220
|
+
'corner',
|
|
221
|
+
'corner-block-start',
|
|
222
|
+
'corner-block-end',
|
|
223
|
+
'corner-inline-start',
|
|
224
|
+
'corner-inline-end',
|
|
225
|
+
'corner-start-start',
|
|
226
|
+
'corner-start-end',
|
|
227
|
+
'corner-end-start',
|
|
228
|
+
'corner-end-end',
|
|
229
|
+
'corner-top',
|
|
230
|
+
'corner-right',
|
|
231
|
+
'corner-bottom',
|
|
232
|
+
'corner-left',
|
|
233
|
+
'corner-top-left',
|
|
234
|
+
'corner-top-right',
|
|
235
|
+
'corner-bottom-right',
|
|
236
|
+
'corner-bottom-left',
|
|
220
237
|
'border-radius',
|
|
221
238
|
'border-start-start-radius',
|
|
222
239
|
'border-start-end-radius',
|
|
@@ -243,6 +260,22 @@ const propertyGroups = [
|
|
|
243
260
|
'corner-top-right-shape',
|
|
244
261
|
'corner-bottom-right-shape',
|
|
245
262
|
'corner-bottom-left-shape',
|
|
263
|
+
'corner-block-start-shape',
|
|
264
|
+
'corner-block-end-shape',
|
|
265
|
+
'corner-inline-start-shape',
|
|
266
|
+
'corner-inline-end-shape',
|
|
267
|
+
'corner-start-start-shape',
|
|
268
|
+
'corner-start-end-shape',
|
|
269
|
+
'corner-end-start-shape',
|
|
270
|
+
'corner-end-end-shape',
|
|
271
|
+
'corner-top-shape',
|
|
272
|
+
'corner-right-shape',
|
|
273
|
+
'corner-bottom-shape',
|
|
274
|
+
'corner-left-shape',
|
|
275
|
+
'corner-top-left-shape',
|
|
276
|
+
'corner-top-right-shape',
|
|
277
|
+
'corner-bottom-right-shape',
|
|
278
|
+
'corner-bottom-left-shape',
|
|
246
279
|
'border-image',
|
|
247
280
|
'border-image-source',
|
|
248
281
|
'border-image-slice',
|
|
@@ -695,11 +728,13 @@ const propertyGroups = [
|
|
|
695
728
|
{
|
|
696
729
|
properties: [
|
|
697
730
|
'anchor-name',
|
|
698
|
-
'
|
|
731
|
+
'anchor-scope',
|
|
732
|
+
'anchor-center',
|
|
699
733
|
'position-area',
|
|
734
|
+
'position-anchor',
|
|
700
735
|
'position-try',
|
|
701
|
-
'position-try-fallbacks',
|
|
702
736
|
'position-try-order',
|
|
737
|
+
'position-try-fallbacks',
|
|
703
738
|
'position-visibility',
|
|
704
739
|
],
|
|
705
740
|
},
|