@dg-scripts/stylelint-config 0.0.0-1867 → 0.0.0-2288

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.
Files changed (4) hide show
  1. package/CHANGELOG.md +130 -1
  2. package/README.md +66 -0
  3. package/index.js +64 -3
  4. package/package.json +15 -12
package/CHANGELOG.md CHANGED
@@ -3,7 +3,136 @@
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
- # [0.0.0-1867](https://github.com/sabertazimi/bod/compare/v5.17.0...v0.0.0-1867) (2024-03-31)
6
+ # [0.0.0-2288](https://github.com/sabertazimi/bod/compare/v6.2.0...v0.0.0-2288) (2026-06-06)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **deps:** update dependencies (non-major) ([#1520](https://github.com/sabertazimi/bod/issues/1520)) ([349530a](https://github.com/sabertazimi/bod/commit/349530a2ac5cd53a004f7c6e8155747e8ae84902))
11
+
12
+ # [6.2.0](https://github.com/sabertazimi/bod/compare/v6.1.2...v6.2.0) (2026-05-19)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **deps:** update dependencies (non-major) ([#1513](https://github.com/sabertazimi/bod/issues/1513)) ([36c0bf2](https://github.com/sabertazimi/bod/commit/36c0bf23ea26ca3940a0f2bf6044bfd55324ab59))
17
+
18
+ ## [6.1.2](https://github.com/sabertazimi/bod/compare/v6.1.1...v6.1.2) (2026-04-20)
19
+
20
+ ### Bug Fixes
21
+
22
+ - **deps:** update dependencies (non-major) ([#1495](https://github.com/sabertazimi/bod/issues/1495)) ([15389b7](https://github.com/sabertazimi/bod/commit/15389b7672759478971db20afbcdec015cddbbc7))
23
+ - **deps:** update dependencies (non-major) ([#1505](https://github.com/sabertazimi/bod/issues/1505)) ([c43d27a](https://github.com/sabertazimi/bod/commit/c43d27a031650a078596d9503fc6b620c197f390))
24
+
25
+ ## [6.1.1](https://github.com/sabertazimi/bod/compare/v6.1.0...v6.1.1) (2026-02-25)
26
+
27
+ ### Bug Fixes
28
+
29
+ - **deps:** update dependencies (non-major) ([#1479](https://github.com/sabertazimi/bod/issues/1479)) ([50d21f2](https://github.com/sabertazimi/bod/commit/50d21f27258d80b6506e94b9a6cec84fd6a7a432))
30
+ - **deps:** update dependencies (non-major) ([#1487](https://github.com/sabertazimi/bod/issues/1487)) ([fb84d98](https://github.com/sabertazimi/bod/commit/fb84d98af909d8caf5e0326b4daa864ee14b4f31))
31
+ - **deps:** update dependency stylelint-config-standard to v40 ([#1483](https://github.com/sabertazimi/bod/issues/1483)) ([869b685](https://github.com/sabertazimi/bod/commit/869b685bb0aa1f7c46632a9b33c14ed1fd1c579b))
32
+ - **deps:** update dependency stylelint-config-standard-scss to v17 ([#1484](https://github.com/sabertazimi/bod/issues/1484)) ([574dd5d](https://github.com/sabertazimi/bod/commit/574dd5d5b667d6b859c4a5d77951379dd732ab81))
33
+
34
+ # [6.1.0](https://github.com/sabertazimi/bod/compare/v6.0.0...v6.1.0) (2026-01-11)
35
+
36
+ ### Features
37
+
38
+ - **stylelint-config:** remove Prettier integration ([#1478](https://github.com/sabertazimi/bod/issues/1478)) ([665ea65](https://github.com/sabertazimi/bod/commit/665ea6548cd7ae13f1115d8a95394fb3f8680bae))
39
+
40
+ # [6.0.0](https://github.com/sabertazimi/bod/compare/v5.21.8...v6.0.0) (2025-12-19)
41
+
42
+ ### Bug Fixes
43
+
44
+ - **deps:** update dependencies (non-major) ([#1463](https://github.com/sabertazimi/bod/issues/1463)) ([7bb29a8](https://github.com/sabertazimi/bod/commit/7bb29a8a8885fd121c46f2fa89af4843c47171d3))
45
+
46
+ ## [5.21.8](https://github.com/sabertazimi/bod/compare/v5.21.7...v5.21.8) (2025-12-04)
47
+
48
+ ### Bug Fixes
49
+
50
+ - **deps:** update dependencies (non-major) ([#1453](https://github.com/sabertazimi/bod/issues/1453)) ([98d3ba9](https://github.com/sabertazimi/bod/commit/98d3ba9ce473b2df084b1db55a3498977cdbe11d))
51
+ - **deps:** update dependencies (non-major) ([#1459](https://github.com/sabertazimi/bod/issues/1459)) ([e6eb392](https://github.com/sabertazimi/bod/commit/e6eb392502da1923449d659326a3dab9447fc990))
52
+
53
+ ## [5.21.7](https://github.com/sabertazimi/bod/compare/v5.21.6...v5.21.7) (2025-11-19)
54
+
55
+ ### Bug Fixes
56
+
57
+ - **deps:** update dependencies (non-major) ([#1439](https://github.com/sabertazimi/bod/issues/1439)) ([0090bb4](https://github.com/sabertazimi/bod/commit/0090bb415e7ed69fbb5d9f3aca1b975d404a3329))
58
+
59
+ ## [5.21.6](https://github.com/sabertazimi/bod/compare/v5.21.5...v5.21.6) (2025-08-14)
60
+
61
+ ### Bug Fixes
62
+
63
+ - **deps:** update dependencies (non-major) ([#1319](https://github.com/sabertazimi/bod/issues/1319)) ([ec9738c](https://github.com/sabertazimi/bod/commit/ec9738cff692f3893da2416ca3d090215b5fa143))
64
+ - **deps:** update dependencies (non-major) ([#1320](https://github.com/sabertazimi/bod/issues/1320)) ([944fb77](https://github.com/sabertazimi/bod/commit/944fb77b42557ee3e6a4464538b4b5baed4e6813))
65
+ - **deps:** update dependencies (non-major) ([#1330](https://github.com/sabertazimi/bod/issues/1330)) ([2048ab3](https://github.com/sabertazimi/bod/commit/2048ab336f273ef6cff77651a29af1cdaf0b332b))
66
+ - **deps:** update dependencies (non-major) ([#1337](https://github.com/sabertazimi/bod/issues/1337)) ([efbdbf7](https://github.com/sabertazimi/bod/commit/efbdbf73564b55ead3f7b59ec65f3fdbfd2991c4))
67
+ - **deps:** update dependencies (non-major) ([#1339](https://github.com/sabertazimi/bod/issues/1339)) ([a610969](https://github.com/sabertazimi/bod/commit/a6109690d054d2015f40bf25d5df3884cf1e7974))
68
+ - **deps:** update dependencies (non-major) ([#1347](https://github.com/sabertazimi/bod/issues/1347)) ([96cd00c](https://github.com/sabertazimi/bod/commit/96cd00cf208a9292fc76f8d02a04c00ad41db7be))
69
+ - **deps:** update dependencies (non-major) ([#1352](https://github.com/sabertazimi/bod/issues/1352)) ([be8e3d2](https://github.com/sabertazimi/bod/commit/be8e3d2da992cdf43ec8f2811b6da2d5febe141a))
70
+ - **deps:** update dependencies (non-major) ([#1356](https://github.com/sabertazimi/bod/issues/1356)) ([25f78ee](https://github.com/sabertazimi/bod/commit/25f78ee2eb98b4d3515e9a4920730665f6256375))
71
+ - **deps:** update dependencies (non-major) ([#1364](https://github.com/sabertazimi/bod/issues/1364)) ([aa211c1](https://github.com/sabertazimi/bod/commit/aa211c1de4814fe941576ba7efe255c42b3e5bcd))
72
+ - **deps:** update dependencies (non-major) ([#1369](https://github.com/sabertazimi/bod/issues/1369)) ([a598cee](https://github.com/sabertazimi/bod/commit/a598cee1435b6938dceae5fb2b697eec5cb41f06))
73
+ - **deps:** update dependencies (non-major) ([#1376](https://github.com/sabertazimi/bod/issues/1376)) ([0d735df](https://github.com/sabertazimi/bod/commit/0d735df242d957660696b684d3838c53d9e8bf89))
74
+ - **deps:** update dependencies (non-major) ([#1393](https://github.com/sabertazimi/bod/issues/1393)) ([d2e6260](https://github.com/sabertazimi/bod/commit/d2e6260d0271c9cd4701f615a8897dd4e2035ebf))
75
+ - **deps:** update dependencies (non-major) ([#1399](https://github.com/sabertazimi/bod/issues/1399)) ([4f41d87](https://github.com/sabertazimi/bod/commit/4f41d873194bab94a5eff47ef5010edbf5632eb1))
76
+ - **deps:** update dependencies (non-major) ([#1402](https://github.com/sabertazimi/bod/issues/1402)) ([b4a28e3](https://github.com/sabertazimi/bod/commit/b4a28e3a1009a6db353cf2c95cfac6b9dfe47633))
77
+ - **deps:** update dependencies (non-major) ([#1407](https://github.com/sabertazimi/bod/issues/1407)) ([8201e21](https://github.com/sabertazimi/bod/commit/8201e212990ffb3560ff9f7cbc3f1a99b05baaa2))
78
+ - **deps:** update dependencies (non-major) ([#1411](https://github.com/sabertazimi/bod/issues/1411)) ([b40a5e0](https://github.com/sabertazimi/bod/commit/b40a5e04b5afd57729e5615ef87fecdd64799304))
79
+ - **deps:** update dependencies (non-major) ([#1416](https://github.com/sabertazimi/bod/issues/1416)) ([c5d5b8e](https://github.com/sabertazimi/bod/commit/c5d5b8e796120f7e32066c99d38bfc2ea6d145cd))
80
+ - **deps:** update dependency prettier to ^3.5.2 ([#1345](https://github.com/sabertazimi/bod/issues/1345)) ([be05d65](https://github.com/sabertazimi/bod/commit/be05d654d0dcfef8439886971fd9f809b6dc8313))
81
+ - **deps:** update dependency stylelint to ^16.12.0 ([#1304](https://github.com/sabertazimi/bod/issues/1304)) ([bb850c5](https://github.com/sabertazimi/bod/commit/bb850c57cd5dfc95eca68e8afc816b4443a8ed09))
82
+ - **deps:** update dependency stylelint to ^16.14.0 ([#1327](https://github.com/sabertazimi/bod/issues/1327)) ([0249db9](https://github.com/sabertazimi/bod/commit/0249db92b4ed237ac34d1a5bb55e0d1d24e38d0f))
83
+
84
+ ## [5.21.5](https://github.com/sabertazimi/bod/compare/v5.21.4...v5.21.5) (2024-12-14)
85
+
86
+ ### Bug Fixes
87
+
88
+ - **deps:** update dependencies (non-major) ([#1294](https://github.com/sabertazimi/bod/issues/1294)) ([b21cbb8](https://github.com/sabertazimi/bod/commit/b21cbb8fd8bd21b014f267ec8adb925060d04056))
89
+ - **deps:** update dependencies (non-major) ([#1299](https://github.com/sabertazimi/bod/issues/1299)) ([1dc0560](https://github.com/sabertazimi/bod/commit/1dc0560800fc1b18be547c69d3709b8a8fdba705))
90
+
91
+ ## [5.21.4](https://github.com/sabertazimi/bod/compare/v5.21.3...v5.21.4) (2024-11-20)
92
+
93
+ ### Bug Fixes
94
+
95
+ - **deps:** update dependencies (non-major) ([#1236](https://github.com/sabertazimi/bod/issues/1236)) ([e0cc31e](https://github.com/sabertazimi/bod/commit/e0cc31ec8ebee81ac8e0cd0b0ec4d17eca5caba5))
96
+ - **deps:** update dependencies (non-major) ([#1244](https://github.com/sabertazimi/bod/issues/1244)) ([25aed8b](https://github.com/sabertazimi/bod/commit/25aed8bcd39e406b7f79d6eecf290d356f26882d))
97
+ - **deps:** update dependencies (non-major) ([#1246](https://github.com/sabertazimi/bod/issues/1246)) ([5cdb4a1](https://github.com/sabertazimi/bod/commit/5cdb4a1607ace5495de75873b03c951987f8e8a8))
98
+
99
+ ## [5.21.3](https://github.com/sabertazimi/bod/compare/v5.21.2...v5.21.3) (2024-07-21)
100
+
101
+ ### Bug Fixes
102
+
103
+ - **deps:** update dependencies (non-major) ([#1224](https://github.com/sabertazimi/bod/issues/1224)) ([3c6440d](https://github.com/sabertazimi/bod/commit/3c6440db3bdb21c07d1eca31fee61079d106a9fd))
104
+
105
+ ## [5.21.2](https://github.com/sabertazimi/bod/compare/v5.21.1...v5.21.2) (2024-06-23)
106
+
107
+ ### Bug Fixes
108
+
109
+ - **deps:** update dependencies (non-major) ([#1189](https://github.com/sabertazimi/bod/issues/1189)) ([58dbd2c](https://github.com/sabertazimi/bod/commit/58dbd2cd63b46d4038801d555269d4d8b07c1aa7))
110
+ - **deps:** update dependencies (non-major) ([#1194](https://github.com/sabertazimi/bod/issues/1194)) ([9162c4f](https://github.com/sabertazimi/bod/commit/9162c4f16b416f653b6e561e3733e5125ff4b840))
111
+ - **deps:** update dependencies (non-major) ([#1212](https://github.com/sabertazimi/bod/issues/1212)) ([c351a56](https://github.com/sabertazimi/bod/commit/c351a56c7d211d277bf6cf785ad48c166d1501b9))
112
+ - **deps:** update dependencies (non-major) ([#1213](https://github.com/sabertazimi/bod/issues/1213)) ([24b4a06](https://github.com/sabertazimi/bod/commit/24b4a06a516e646a62ba811d5800d8e0e87db003))
113
+ - **deps:** update dependencies (non-major) ([#1219](https://github.com/sabertazimi/bod/issues/1219)) ([a26aff7](https://github.com/sabertazimi/bod/commit/a26aff7ecc63033abb32895c6cbbd62c8c407243))
114
+
115
+ ## [5.21.1](https://github.com/sabertazimi/bod/compare/v5.21.0...v5.21.1) (2024-04-24)
116
+
117
+ **Note:** Version bump only for package @dg-scripts/stylelint-config
118
+
119
+ # [5.21.0](https://github.com/sabertazimi/bod/compare/v5.20.1...v5.21.0) (2024-04-20)
120
+
121
+ **Note:** Version bump only for package @dg-scripts/stylelint-config
122
+
123
+ ## [5.20.1](https://github.com/sabertazimi/bod/compare/v5.20.0...v5.20.1) (2024-04-02)
124
+
125
+ **Note:** Version bump only for package @dg-scripts/stylelint-config
126
+
127
+ # [5.20.0](https://github.com/sabertazimi/bod/compare/v5.19.0...v5.20.0) (2024-04-02)
128
+
129
+ **Note:** Version bump only for package @dg-scripts/stylelint-config
130
+
131
+ # [5.19.0](https://github.com/sabertazimi/bod/compare/v5.18.0...v5.19.0) (2024-04-01)
132
+
133
+ **Note:** Version bump only for package @dg-scripts/stylelint-config
134
+
135
+ # [5.18.0](https://github.com/sabertazimi/bod/compare/v5.17.0...v5.18.0) (2024-04-01)
7
136
 
8
137
  **Note:** Version bump only for package @dg-scripts/stylelint-config
9
138
 
package/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # @dg-scripts/stylelint-config
2
+
3
+ [![Author](https://img.shields.io/badge/author-sabertaz-lightgrey?style=for-the-badge)](https://github.com/sabertazimi)
4
+ [![LICENSE](https://img.shields.io/github/license/sabertazimi/bod?style=for-the-badge)](https://raw.githubusercontent.com/sabertazimi/bod/main/LICENSE)
5
+
6
+ [![Node Version](https://img.shields.io/node/v/@dg-scripts/stylelint-config?logo=node.js&style=for-the-badge)](https://www.npmjs.com/package/@dg-scripts/stylelint-config)
7
+ [![NPM Version](https://img.shields.io/npm/v/@dg-scripts/stylelint-config?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@dg-scripts/stylelint-config)
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
+
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
+ [![Vitest Coverage](https://img.shields.io/codecov/c/github/sabertazimi/bod?logo=codecov&style=for-the-badge)](https://codecov.io/gh/sabertazimi/bod)
12
+
13
+ This package includes the shareable StyleLint configuration used by [Bod CLI](https://github.com/sabertazimi/bod).
14
+
15
+ ## Installation
16
+
17
+ ```bash
18
+ npm install -D @dg-scripts/stylelint-config
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ Set `.stylelintrc.json` to:
24
+
25
+ ```json
26
+ {
27
+ "extends": "@dg-scripts/stylelint-config"
28
+ }
29
+ ```
30
+
31
+ ### Extending the config
32
+
33
+ Simply add a "rules" key to your config and add your overrides there.
34
+
35
+ For example,
36
+ to change the indentation to tabs and turn off the number-leading-zero rule:
37
+
38
+ ```json
39
+ {
40
+ "extends": "@dg-scripts/stylelint-config",
41
+ "rules": {
42
+ "indentation": "tab",
43
+ "number-leading-zero": null
44
+ }
45
+ }
46
+ ```
47
+
48
+ ## Features
49
+
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).
56
+
57
+ ## Reference
58
+
59
+ - [CSS Standard](https://github.com/stylelint/stylelint-config-standard)
60
+ - [CSS Order](https://github.com/stormwarning/stylelint-config-recess-order)
61
+
62
+ ## Contact
63
+
64
+ [![GitHub](https://img.shields.io/badge/-GitHub-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/sabertazimi)
65
+ [![Email](https://img.shields.io/badge/-Gmail-ea4335?style=for-the-badge&logo=gmail&logoColor=white)](mailto:sabertazimi@gmail.com)
66
+ [![X](https://img.shields.io/badge/-X.com-000000?style=for-the-badge&logo=x&logoColor=white)](https://x.com/sabertazimi)
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": "0.0.0-1867",
3
+ "version": "0.0.0-2288",
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",
@@ -34,22 +34,25 @@
34
34
  "access": "public"
35
35
  },
36
36
  "engines": {
37
- "node": ">=18.0.0"
37
+ "node": ">=24.0.0"
38
38
  },
39
39
  "scripts": {
40
- "lint": "stylelint CHANGELOG.md --config=index.js"
40
+ "lint": "stylelint CHANGELOG.md --config=index.js",
41
+ "lint:fix": "stylelint CHANGELOG.md --config=index.js --fix"
41
42
  },
42
43
  "peerDependencies": {
43
- "prettier": "^3.0.0",
44
- "stylelint": "^15.0.0 || ^16.0.0"
44
+ "stylelint": "^16.0.0 || ^17.0.0"
45
45
  },
46
46
  "dependencies": {
47
- "stylelint-config-bod": "0.0.0-1867",
48
- "stylelint-prettier": "^5.0.0"
47
+ "postcss-html": "^1.8.1",
48
+ "postcss-markdown": "^1.3.1",
49
+ "stylelint-config-html": "^1.1.0",
50
+ "stylelint-config-recess-order": "^7.7.0",
51
+ "stylelint-config-standard": "^40.0.0",
52
+ "stylelint-config-standard-scss": "^17.0.0"
49
53
  },
50
54
  "devDependencies": {
51
- "prettier": "^3.2.5",
52
- "stylelint": "^16.3.1"
55
+ "stylelint": "^17.12.0"
53
56
  },
54
- "gitHead": "27b404c9bab635676f0939f84764ddc292fa681d"
57
+ "gitHead": "e90fb5455ac90780213c566d62ef1d5406e094a3"
55
58
  }