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