@dg-scripts/stylelint-config 5.21.7 → 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 CHANGED
@@ -3,6 +3,29 @@
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
+
17
+ ## [5.21.8](https://github.com/sabertazimi/bod/compare/v5.21.7...v5.21.8) (2025-12-04)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **deps:** update dependencies (non-major) ([#1453](https://github.com/sabertazimi/bod/issues/1453)) ([98d3ba9](https://github.com/sabertazimi/bod/commit/98d3ba9ce473b2df084b1db55a3498977cdbe11d))
23
+ * **deps:** update dependencies (non-major) ([#1459](https://github.com/sabertazimi/bod/issues/1459)) ([e6eb392](https://github.com/sabertazimi/bod/commit/e6eb392502da1923449d659326a3dab9447fc990))
24
+
25
+
26
+
27
+
28
+
6
29
  ## [5.21.7](https://github.com/sabertazimi/bod/compare/v5.21.6...v5.21.7) (2025-11-19)
7
30
 
8
31
 
package/README.md CHANGED
@@ -8,8 +8,8 @@
8
8
  [![CDN](https://img.shields.io/npm/v/@dg-scripts/stylelint-config?label=CDN&logo=cloudflare&style=for-the-badge)](https://cdn.jsdelivr.net/npm/@dg-scripts/stylelint-config@latest/)
9
9
 
10
10
  [![CI](https://img.shields.io/github/actions/workflow/status/sabertazimi/bod/ci.yml?branch=main&style=for-the-badge&logo=github)](https://github.com/sabertazimi/bod/actions/workflows/ci.yml)
11
- [![Jest Coverage](https://img.shields.io/codecov/c/github/sabertazimi/bod?logo=codecov&style=for-the-badge)](https://codecov.io/gh/sabertazimi/bod)
12
- [![Jest Coverage](https://raw.githubusercontents.com/sabertazimi/bod/gh-pages/coverage-lines.svg)](https://github.com/sabertazimi/bod/actions/workflows/ci.yml)
11
+ [![Vitest Coverage](https://img.shields.io/codecov/c/github/sabertazimi/bod?logo=codecov&style=for-the-badge)](https://codecov.io/gh/sabertazimi/bod)
12
+ [![Vitest Coverage](http://raw.githubusercontent.com/sabertazimi/bod/refs/heads/gh-pages/coverage-lines.svg)](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
- - Based on [`stylelint-config-bod`](https://npmjs.com/package/stylelint-config-bod).
52
- - Prettier Support.
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
 
@@ -59,5 +64,5 @@ to change the indentation to tabs and turn off the number-leading-zero rule:
59
64
  ## Contact
60
65
 
61
66
  [![Email](https://img.shields.io/badge/-Gmail-ea4335?style=for-the-badge&logo=gmail&logoColor=white)](mailto:sabertazimi@gmail.com)
62
- [![Twitter](https://img.shields.io/badge/-Twitter-1da1f2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/sabertazimi)
67
+ [![X](https://img.shields.io/badge/-X.com-000000?style=for-the-badge&logo=x&logoColor=white)](https://x.com/sabertazimi)
63
68
  [![GitHub](https://img.shields.io/badge/-GitHub-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/sabertazimi)
package/index.js CHANGED
@@ -1,7 +1,70 @@
1
1
  module.exports = {
2
- extends: ['stylelint-config-bod'],
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": "5.21.7",
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
- "stylelint-config-bod": "^5.21.7",
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.6.2",
53
- "stylelint": "^16.25.0"
59
+ "prettier": "^3.7.4",
60
+ "stylelint": "^16.26.1"
54
61
  },
55
- "gitHead": "10fa1fff5fd812bcbd27cb1ee393a158a3aab69e"
62
+ "gitHead": "c98290e1b374fdcffa21acd39ab8dac42d8d156d"
56
63
  }