@dg-scripts/stylelint-config 5.21.8 → 6.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/CHANGELOG.md +11 -0
- package/README.md +9 -4
- package/index.js +64 -1
- package/package.json +11 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [6.0.0](https://github.com/sabertazimi/bod/compare/v5.21.8...v6.0.0) (2025-12-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependencies (non-major) ([#1463](https://github.com/sabertazimi/bod/issues/1463)) ([7bb29a8](https://github.com/sabertazimi/bod/commit/7bb29a8a8885fd121c46f2fa89af4843c47171d3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [5.21.8](https://github.com/sabertazimi/bod/compare/v5.21.7...v5.21.8) (2025-12-04)
|
|
7
18
|
|
|
8
19
|
|
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
[](https://cdn.jsdelivr.net/npm/@dg-scripts/stylelint-config@latest/)
|
|
9
9
|
|
|
10
10
|
[](https://github.com/sabertazimi/bod/actions/workflows/ci.yml)
|
|
11
|
-
[](https://codecov.io/gh/sabertazimi/bod)
|
|
12
|
+
[](https://github.com/sabertazimi/bod/actions/workflows/ci.yml)
|
|
13
13
|
|
|
14
14
|
This package includes the shareable StyleLint configuration used by [Bod CLI](https://github.com/sabertazimi/bod).
|
|
15
15
|
|
|
@@ -48,8 +48,13 @@ to change the indentation to tabs and turn off the number-leading-zero rule:
|
|
|
48
48
|
|
|
49
49
|
## Features
|
|
50
50
|
|
|
51
|
-
-
|
|
52
|
-
-
|
|
51
|
+
- CSS Standard with [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard).
|
|
52
|
+
- CSS Property Order with [stylelint-config-recess-order](https://github.com/stormwarning/stylelint-config-recess-order).
|
|
53
|
+
- HTML/Vue Support with [stylelint-config-html](https://github.com/ota-meshi/stylelint-config-html).
|
|
54
|
+
- SCSS Support with [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss).
|
|
55
|
+
- Markdown Support with [postcss-markdown](https://github.com/ota-meshi/postcss-markdown).
|
|
56
|
+
- Tailwind CSS Support (ignores Tailwind at-rules).
|
|
57
|
+
- Prettier Integration with [stylelint-prettier](https://github.com/prettier/stylelint-prettier).
|
|
53
58
|
|
|
54
59
|
## Reference
|
|
55
60
|
|
package/index.js
CHANGED
|
@@ -1,7 +1,70 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
extends: [
|
|
2
|
+
extends: [
|
|
3
|
+
'stylelint-config-html',
|
|
4
|
+
'stylelint-config-standard',
|
|
5
|
+
'stylelint-config-recess-order',
|
|
6
|
+
],
|
|
3
7
|
plugins: ['stylelint-prettier'],
|
|
4
8
|
rules: {
|
|
9
|
+
'at-rule-no-deprecated': [
|
|
10
|
+
true,
|
|
11
|
+
{
|
|
12
|
+
ignoreAtRules: [
|
|
13
|
+
'apply',
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
'at-rule-no-unknown': [
|
|
18
|
+
true,
|
|
19
|
+
{
|
|
20
|
+
ignoreAtRules: [
|
|
21
|
+
'tailwind',
|
|
22
|
+
'import',
|
|
23
|
+
'theme',
|
|
24
|
+
'source',
|
|
25
|
+
'utility',
|
|
26
|
+
'variant',
|
|
27
|
+
'custom-variant',
|
|
28
|
+
'apply',
|
|
29
|
+
'reference',
|
|
30
|
+
'config',
|
|
31
|
+
'plugin',
|
|
32
|
+
'layer',
|
|
33
|
+
'container',
|
|
34
|
+
'responsive',
|
|
35
|
+
'screen',
|
|
36
|
+
'use',
|
|
37
|
+
'forward',
|
|
38
|
+
'mixin',
|
|
39
|
+
'include',
|
|
40
|
+
'function',
|
|
41
|
+
'extend',
|
|
42
|
+
'error',
|
|
43
|
+
'warn',
|
|
44
|
+
'debug',
|
|
45
|
+
'at-root',
|
|
46
|
+
'if',
|
|
47
|
+
'else',
|
|
48
|
+
'each',
|
|
49
|
+
'for',
|
|
50
|
+
'while',
|
|
51
|
+
'return',
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
'import-notation': [
|
|
56
|
+
'string',
|
|
57
|
+
],
|
|
5
58
|
'prettier/prettier': true,
|
|
6
59
|
},
|
|
60
|
+
overrides: [
|
|
61
|
+
{
|
|
62
|
+
files: ['*.scss', '**/*.scss'],
|
|
63
|
+
extends: ['stylelint-config-standard-scss'],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
files: ['*.md', '**/*.md'],
|
|
67
|
+
customSyntax: 'postcss-markdown',
|
|
68
|
+
},
|
|
69
|
+
],
|
|
7
70
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dg-scripts/stylelint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "StyleLint configuration used by dg-scripts.",
|
|
5
5
|
"author": "sabertazimi <sabertazimi@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"dg-scripts",
|
|
18
|
+
"bod",
|
|
19
|
+
"bod-cli",
|
|
18
20
|
"css",
|
|
19
21
|
"lint",
|
|
20
22
|
"linter",
|
|
@@ -45,12 +47,17 @@
|
|
|
45
47
|
"stylelint": "^16.0.0"
|
|
46
48
|
},
|
|
47
49
|
"dependencies": {
|
|
48
|
-
"
|
|
50
|
+
"postcss-html": "^1.8.0",
|
|
51
|
+
"postcss-markdown": "^1.3.0",
|
|
52
|
+
"stylelint-config-html": "^1.1.0",
|
|
53
|
+
"stylelint-config-recess-order": "^7.4.0",
|
|
54
|
+
"stylelint-config-standard": "^39.0.1",
|
|
55
|
+
"stylelint-config-standard-scss": "^16.0.0",
|
|
49
56
|
"stylelint-prettier": "^5.0.3"
|
|
50
57
|
},
|
|
51
58
|
"devDependencies": {
|
|
52
|
-
"prettier": "^3.7.
|
|
59
|
+
"prettier": "^3.7.4",
|
|
53
60
|
"stylelint": "^16.26.1"
|
|
54
61
|
},
|
|
55
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "c98290e1b374fdcffa21acd39ab8dac42d8d156d"
|
|
56
63
|
}
|