@dg-scripts/stylelint-config 5.16.0 → 5.18.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +63 -0
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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
+ # [5.18.0](https://github.com/sabertazimi/bod/compare/v5.17.0...v5.18.0) (2024-04-01)
7
+
8
+ **Note:** Version bump only for package @dg-scripts/stylelint-config
9
+
10
+
11
+
12
+
13
+
14
+ # [5.17.0](https://github.com/sabertazimi/bod/compare/v5.16.0...v5.17.0) (2024-03-30)
15
+
16
+ **Note:** Version bump only for package @dg-scripts/stylelint-config
17
+
18
+
19
+
20
+
21
+
6
22
  # [5.16.0](https://github.com/sabertazimi/bod/compare/v5.15.2...v5.16.0) (2024-03-30)
7
23
 
8
24
  **Note:** Version bump only for package @dg-scripts/stylelint-config
package/README.md ADDED
@@ -0,0 +1,63 @@
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
+ [![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)
13
+
14
+ This package includes the shareable StyleLint configuration used by [Bod CLI](https://github.com/sabertazimi/bod).
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ npm install -D @dg-scripts/stylelint-config
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ Set `.stylelintrc.json` to:
25
+
26
+ ```json
27
+ {
28
+ "extends": "@dg-scripts/stylelint-config"
29
+ }
30
+ ```
31
+
32
+ ### Extending the config
33
+
34
+ Simply add a "rules" key to your config and add your overrides there.
35
+
36
+ For example,
37
+ to change the indentation to tabs and turn off the number-leading-zero rule:
38
+
39
+ ```json
40
+ {
41
+ "extends": "@dg-scripts/stylelint-config",
42
+ "rules": {
43
+ "indentation": "tab",
44
+ "number-leading-zero": null
45
+ }
46
+ }
47
+ ```
48
+
49
+ ## Features
50
+
51
+ - Based on [`stylelint-config-bod`](https://npmjs.com/package/stylelint-config-bod).
52
+ - Prettier Support.
53
+
54
+ ## Reference
55
+
56
+ - [CSS Standard](https://github.com/stylelint/stylelint-config-standard)
57
+ - [CSS Order](https://github.com/stormwarning/stylelint-config-recess-order)
58
+
59
+ ## Contact
60
+
61
+ [![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)
63
+ [![GitHub](https://img.shields.io/badge/-GitHub-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/sabertazimi)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dg-scripts/stylelint-config",
3
- "version": "5.16.0",
3
+ "version": "5.18.0",
4
4
  "description": "StyleLint configuration used by dg-scripts.",
5
5
  "author": "sabertazimi <sabertazimi@gmail.com>",
6
6
  "license": "MIT",
@@ -44,12 +44,12 @@
44
44
  "stylelint": "^15.0.0 || ^16.0.0"
45
45
  },
46
46
  "dependencies": {
47
- "stylelint-config-bod": "^5.16.0",
47
+ "stylelint-config-bod": "^5.18.0",
48
48
  "stylelint-prettier": "^5.0.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "prettier": "^3.2.5",
52
52
  "stylelint": "^16.3.1"
53
53
  },
54
- "gitHead": "5fc2f0beb64314994b9b2c4915533c289bc066e7"
54
+ "gitHead": "3bf0c5de549ce2a77026cbc7a3748013a45d0492"
55
55
  }