@aarongoldenthal/stylelint-config-standard 15.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 +12 -2
  2. package/package.json +19 -17
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,
@@ -241,6 +245,12 @@ module.exports = {
241
245
  }
242
246
  ],
243
247
  // eslint-disable-next-line sort-keys -- keep plugin rules separate
244
- '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
+ ]
245
255
  }
246
256
  };
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/stylelint-config-standard",
3
- "version": "15.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,16 +34,18 @@
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": "23.0.0",
41
- "eslint": "8.45.0",
42
- "jest": "29.6.1",
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.8.1",
45
- "prettier": "3.0.0",
46
- "stylelint": "15.10.2"
46
+ "markdownlint-cli2": "0.10.0",
47
+ "prettier": "3.1.0",
48
+ "stylelint": "15.11.0"
47
49
  },
48
50
  "peerDependencies": {
49
51
  "stylelint": "^15.8.0"