@benhigham/stylelint-config 0.2.0 → 0.4.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/README.md +1 -2
  2. package/package.json +17 -16
  3. package/src/index.js +2 -2
package/README.md CHANGED
@@ -60,12 +60,11 @@ This configuration includes several plugins:
60
60
  - [`stylelint-high-performance-animation`](https://github.com/kristerkari/stylelint-high-performance-animation): Prevents using low-performance animation properties
61
61
  - [`stylelint-media-use-custom-media`](https://github.com/csstools/stylelint-media-use-custom-media): Enforces the use of custom media queries
62
62
  - [`stylelint-use-nesting`](https://github.com/csstools/stylelint-use-nesting): Enforces proper CSS nesting
63
- - [`stylelint-plugin-require-baseline`](https://github.com/ryo-manba/stylelint-plugin-require-baseline): Disallow CSS features not in [Baseline](https://web.dev/baseline)
63
+ - [`stylelint-plugin-use-baseline`](https://github.com/ryo-manba/stylelint-plugin-use-baseline): Disallow CSS features not in [Baseline](https://web.dev/baseline)
64
64
  - [`stylelint-no-unresolved-module`](https://github.com/niksy/stylelint-no-unresolved-module): Ensures all imported modules can be resolved
65
65
  - [`stylelint-no-indistinguishable-colors`](https://github.com/ierhyna/stylelint-no-indistinguishable-colors): Prevents colors that are too similar
66
66
  - [`stylelint-gamut`](https://github.com/csstools/stylelint-gamut): Prevents colors outside of supported gamut range
67
67
  - [`stylelint-selector-bem-pattern`](https://github.com/simonsmith/stylelint-selector-bem-pattern): Enforces BEM naming convention
68
- - [`stylelint-no-browser-hacks`](https://github.com/stylelint/stylelint-no-browser-hacks): Disallows browser hacks
69
68
  - [`stylelint-no-unsupported-browser-features`](https://github.com/ismay/stylelint-no-unsupported-browser-features): Warns about unsupported browser features
70
69
 
71
70
  ### Key Rules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@benhigham/stylelint-config",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "My personal Stylelint configuration.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/benhigham/stylelint-config#readme",
@@ -21,7 +21,7 @@
21
21
  "exports": "./src/index.js",
22
22
  "sideEffects": false,
23
23
  "engines": {
24
- "node": "^18.20.0 || ^20.10.0 || >=21.0.0"
24
+ "node": ">=22"
25
25
  },
26
26
  "files": [
27
27
  "src"
@@ -50,33 +50,34 @@
50
50
  "verify"
51
51
  ],
52
52
  "dependencies": {
53
- "stylelint-config-recess-order": "^6.0.0",
54
- "stylelint-config-standard-scss": "^14.0.0",
53
+ "stylelint-config-recess-order": "^7.2.0",
54
+ "stylelint-config-standard-scss": "^16.0.0",
55
55
  "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
56
56
  "stylelint-declaration-strict-value": "^1.10.11",
57
- "stylelint-gamut": "^1.3.4",
57
+ "stylelint-gamut": "^2.0.0",
58
58
  "stylelint-high-performance-animation": "^1.11.0",
59
59
  "stylelint-media-use-custom-media": "^4.0.0",
60
60
  "stylelint-no-indistinguishable-colors": "^2.3.1",
61
- "stylelint-no-unresolved-module": "^2.3.0",
61
+ "stylelint-no-unresolved-module": "^2.4.0",
62
62
  "stylelint-no-unsupported-browser-features": "^8.0.4",
63
- "stylelint-plugin-require-baseline": "^0.1.1",
63
+ "stylelint-order": "^7.0.0",
64
+ "stylelint-plugin-use-baseline": "^1.0.3",
64
65
  "stylelint-selector-bem-pattern": "^4.0.1",
65
66
  "stylelint-use-nesting": "^6.0.0"
66
67
  },
67
68
  "devDependencies": {
68
- "@benhigham/commitlint-config": "^0.1.2",
69
- "@benhigham/prettier-config": "^0.1.0",
70
- "@changesets/changelog-github": "^0.5.1",
71
- "@changesets/cli": "^2.28.1",
72
- "@commitlint/cli": "^19.8.0",
73
- "lefthook": "^1.11.9",
74
- "prettier": "^3.5.3",
75
- "stylelint": "^16.18.0",
69
+ "@benhigham/commitlint-config": "^1.0.0",
70
+ "@benhigham/prettier-config": "^0.1.1",
71
+ "@changesets/changelog-github": "^0.6.0",
72
+ "@changesets/cli": "^2.29.6",
73
+ "@commitlint/cli": "^20.4.4",
74
+ "lefthook": "^2.0.1",
75
+ "prettier": "^3.6.2",
76
+ "stylelint": "^16.23.1",
76
77
  "stylelint-find-new-rules": "^5.0.0"
77
78
  },
78
79
  "peerDependencies": {
79
- "stylelint": ">=16.0.0"
80
+ "stylelint": ">=16.19.1"
80
81
  },
81
82
  "scripts": {
82
83
  "format": "prettier --write .",
package/src/index.js CHANGED
@@ -13,12 +13,12 @@ const config = {
13
13
  'stylelint-selector-bem-pattern',
14
14
  'stylelint-media-use-custom-media',
15
15
  'stylelint-use-nesting',
16
- 'stylelint-plugin-require-baseline',
16
+ 'stylelint-plugin-use-baseline',
17
17
  'stylelint-no-unsupported-browser-features',
18
18
  ],
19
19
  rules: {
20
20
  // Browser compatibility
21
- 'plugin/require-baseline': [true, { available: 'newly' }],
21
+ 'plugin/use-baseline': [true, { available: 'newly' }],
22
22
  'plugin/no-unsupported-browser-features': true,
23
23
 
24
24
  // SCSS-specific rules