@cto.af/eslint-config 6.0.13 → 6.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cto.af/eslint-config",
3
- "version": "6.0.13",
3
+ "version": "6.0.14",
4
4
  "description": "hildjj's lint rules",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -14,13 +14,13 @@
14
14
  "url": "git+https://github.com/cto-af/eslint-config.git"
15
15
  },
16
16
  "dependencies": {
17
- "@eslint/json": "0.13.1",
18
- "@stylistic/eslint-plugin": "5.2.2",
17
+ "@eslint/json": "0.13.2",
18
+ "@stylistic/eslint-plugin": "5.3.1",
19
19
  "eslint-plugin-n": "17.21.3",
20
20
  "eslint-plugin-redos": "4.4.5",
21
21
  "globals": "16.3.0"
22
22
  },
23
- "packageManager": "pnpm@10.14.0",
23
+ "packageManager": "pnpm@10.15.1",
24
24
  "engines": {
25
25
  "node": ">=20"
26
26
  }
package/rules/js.js CHANGED
@@ -204,6 +204,7 @@ export const rules = {
204
204
  'prefer-rest-params': 'error',
205
205
  'prefer-spread': 'error',
206
206
  'prefer-template': 'error',
207
+ 'preserve-caught-error': 'error',
207
208
  'radix': 'error',
208
209
  'require-await': 'error',
209
210
  'require-unicode-regexp': 'off', // No.
@@ -262,7 +263,7 @@ export const rules = {
262
263
  '@stylistic/jsx-newline': 'off', // Not needed
263
264
  '@stylistic/jsx-one-expression-per-line': 'off', // Not needed
264
265
  '@stylistic/jsx-pascal-case': 'off', // Not needed
265
- '@stylistic/jsx-props-no-multi-spaces': 'off', // Not needed
266
+ // '@stylistic/jsx-props-no-multi-spaces': 'off', // Deprecated
266
267
  '@stylistic/jsx-quotes': 'off', // Not needed
267
268
  '@stylistic/jsx-self-closing-comp': 'off', // Not needed
268
269
  '@stylistic/jsx-sort-props': 'off', // Not needed
package/rules/markdown.js CHANGED
@@ -16,6 +16,7 @@ export const rules = {
16
16
  'markdown/no-missing-link-fragments': 'error',
17
17
  'markdown/no-multiple-h1': 'error',
18
18
  'markdown/no-reversed-media-syntax': 'error',
19
+ 'markdown/no-space-in-emphasis': 'error',
19
20
  'markdown/no-unused-definitions': 'error',
20
21
  'markdown/require-alt-text': 'warn',
21
22
  'markdown/table-column-count': 'error',