@aarongoldenthal/stylelint-config-standard 14.0.0 → 16.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.
Files changed (2) hide show
  1. package/index.js +13 -2
  2. package/package.json +20 -18
package/index.js CHANGED
@@ -8,7 +8,11 @@ module.exports = {
8
8
  files: ['**/*.html', '**/*.handlebars']
9
9
  }
10
10
  ],
11
- plugins: ['stylelint-order'],
11
+ plugins: [
12
+ 'stylelint-declaration-strict-value',
13
+ 'stylelint-order',
14
+ 'stylelint-use-logical-spec'
15
+ ],
12
16
  reportDescriptionlessDisables: true,
13
17
  reportInvalidScopeDisables: true,
14
18
  reportNeedlessDisables: true,
@@ -139,6 +143,7 @@ module.exports = {
139
143
  'media-feature-name-no-unknown': true,
140
144
  'media-feature-name-no-vendor-prefix': true,
141
145
  'media-feature-name-value-allowed-list': null,
146
+ 'media-feature-name-value-no-unknown': true,
142
147
  'media-feature-range-notation': 'context',
143
148
  'named-grid-areas-no-invalid': true,
144
149
  'no-descending-specificity': true,
@@ -240,6 +245,12 @@ module.exports = {
240
245
  }
241
246
  ],
242
247
  // eslint-disable-next-line sort-keys -- keep plugin rules separate
243
- 'order/properties-alphabetical-order': true
248
+ 'order/properties-alphabetical-order': true,
249
+ // eslint-disable-next-line sort-keys -- keep plugin rules separate
250
+ 'liberty/use-logical-spec': 'always',
251
+ 'scale-unlimited/declaration-strict-value': [
252
+ '/color$/',
253
+ { expandShorthand: true, recurseLonghand: true }
254
+ ]
244
255
  }
245
256
  };
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/stylelint-config-standard",
3
- "version": "14.0.0",
3
+ "version": "16.0.0",
4
4
  "description": "Standard StyleLint configuration settings",
5
- "main": "index.js",
5
+ "exports": "./index.js",
6
6
  "scripts": {
7
- "hooks-pre-commit": "npm run lint && npm run prettier-check",
8
- "hooks-pre-push": "npm audit --audit-level=high && npm test",
9
- "lint": "npm run lint-js && npm run lint-md",
10
- "lint-js": "eslint .",
11
- "lint-md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
12
- "prettier-check": "prettier --check .",
13
- "prettier-fix": "prettier --write .",
7
+ "hooks:pre-commit": "npm run lint && npm run prettier:check",
8
+ "hooks:pre-push": "npm audit --audit-level=high && npm test",
9
+ "lint": "npm run lint:js && npm run lint:md",
10
+ "lint:js": "eslint .",
11
+ "lint:md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
12
+ "prettier:check": "prettier --check .",
13
+ "prettier:fix": "prettier --write .",
14
14
  "test": "jest --ci --config jest.config.json"
15
15
  },
16
16
  "repository": {
@@ -23,7 +23,7 @@
23
23
  "author": "Aaron Goldenthal <npm@aarongoldenthal.com>",
24
24
  "license": "MIT",
25
25
  "engines": {
26
- "node": "^16.13.0 || ^18.12.0 || >=20.0.0"
26
+ "node": "^18.12.0 || >=20.0.0"
27
27
  },
28
28
  "files": [
29
29
  "index.js"
@@ -34,18 +34,20 @@
34
34
  "homepage": "https://gitlab.com/gitlab-ci-utils/node/stylelint-config-standard",
35
35
  "dependencies": {
36
36
  "postcss-html": "1.5.0",
37
- "stylelint-order": "6.0.3"
37
+ "stylelint-declaration-strict-value": "1.9.2",
38
+ "stylelint-order": "6.0.3",
39
+ "stylelint-use-logical-spec": "5.0.0"
38
40
  },
39
41
  "devDependencies": {
40
- "@aarongoldenthal/eslint-config-standard": "22.0.0",
41
- "eslint": "8.40.0",
42
- "jest": "29.5.0",
42
+ "@aarongoldenthal/eslint-config-standard": "24.0.0",
43
+ "eslint": "8.54.0",
44
+ "jest": "29.7.0",
43
45
  "jest-junit": "16.0.0",
44
- "markdownlint-cli2": "0.7.1",
45
- "prettier": "2.8.8",
46
- "stylelint": "15.6.1"
46
+ "markdownlint-cli2": "0.10.0",
47
+ "prettier": "3.1.0",
48
+ "stylelint": "15.11.0"
47
49
  },
48
50
  "peerDependencies": {
49
- "stylelint": "^15.4.0"
51
+ "stylelint": "^15.8.0"
50
52
  }
51
53
  }