@bhsd/code-standard 2.2.0 → 2.3.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.
package/eslint.mjs CHANGED
@@ -668,6 +668,7 @@ export const ignores = {
668
668
  'jsdoc/no-bad-blocks': [
669
669
  1,
670
670
  {
671
+ ignore: ['__PURE__'],
671
672
  preventAllMultiAsteriskBlocks: true,
672
673
  },
673
674
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhsd/code-standard",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "homepage": "https://github.com/bhsd-harry/code-standard#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/bhsd-harry/code-standard/issues"
@@ -14,6 +14,7 @@
14
14
  ],
15
15
  "main": "eslint.mjs",
16
16
  "scripts": {
17
+ "ls": "npm i --package-lock-only && npm ls --package-lock-only --all --omit=dev",
17
18
  "lint:ts": "eslint --cache .",
18
19
  "lint": "npm run lint:ts"
19
20
  },
@@ -21,20 +22,23 @@
21
22
  "@eslint/js": "^10.0.1",
22
23
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
23
24
  "@stylistic/eslint-plugin": "^5.10.0",
24
- "@typescript-eslint/eslint-plugin": "^8.58.0",
25
+ "@typescript-eslint/eslint-plugin": "^8.59.0",
25
26
  "eslint-plugin-es-x": "^9.6.0",
26
- "eslint-plugin-jsdoc": "^62.7.1",
27
+ "eslint-plugin-jsdoc": "^62.9.0",
27
28
  "eslint-plugin-jsonc": "^3.1.2",
28
29
  "eslint-plugin-n": "^17.24.0",
29
30
  "eslint-plugin-promise": "^7.2.1",
30
31
  "eslint-plugin-regexp": "^3.1.0",
31
32
  "eslint-plugin-unicorn": "^64.0.0",
32
- "globals": "^17.4.0"
33
+ "globals": "^17.5.0"
33
34
  },
34
35
  "devDependencies": {
35
36
  "@types/node": "^24.11.0",
36
- "@typescript-eslint/parser": "^8.58.0",
37
- "eslint": "^10.2.0",
37
+ "@typescript-eslint/parser": "^8.59.0",
38
+ "eslint": "^10.2.1",
38
39
  "stylelint-plugin-use-baseline": "^1.4.1"
40
+ },
41
+ "overrides": {
42
+ "eslint": "^10.2.1"
39
43
  }
40
44
  }
package/stylelintrc.cjs CHANGED
@@ -7,6 +7,7 @@ module.exports = {
7
7
  '@stylistic/stylelint-plugin',
8
8
  ],
9
9
  rules: {
10
+ 'selector-no-deprecated': true,
10
11
  'declaration-property-value-no-unknown': true,
11
12
  'no-unknown-animations': true,
12
13
  'no-unknown-custom-media': true,
@@ -26,6 +27,7 @@ module.exports = {
26
27
  'font-weight-notation': 'named-where-possible',
27
28
  'hue-degree-notation': 'number',
28
29
  'keyframe-selector-notation': 'percentage-unless-within-keyword-only-block',
30
+ 'relative-selector-nesting-notation': 'explicit',
29
31
  'selector-not-notation': 'complex',
30
32
  'selector-pseudo-element-colon-notation': 'double',
31
33
  'font-family-name-quotes': 'always-where-recommended',