Skip to content

Commit 5075c9b

Browse files
committed
feat(deps)!: minimum eslint v9.35.0
and rule preserve-caught-error
1 parent 937f0a7 commit 5075c9b

File tree

4 files changed

+47
-128
lines changed

4 files changed

+47
-128
lines changed

package-lock.json

Lines changed: 42 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"typescript-eslint": "^8.41.0"
6666
},
6767
"peerDependencies": {
68-
"eslint": "^9.12.0",
68+
"eslint": "^9.35.0",
6969
"typescript": "*"
7070
},
7171
"devDependencies": {
@@ -79,8 +79,8 @@
7979
"@types/semver": "7.7.1",
8080
"ava": "6.4.1",
8181
"conventional-changelog-conventionalcommits": "9.1.0",
82-
"eslint": "9.34.0",
83-
"eslint_bottom": "npm:eslint@9.12.0",
82+
"eslint": "9.35.0",
83+
"eslint_bottom": "npm:eslint@9.35.0",
8484
"eslint-plugin-eslint-comments_bottom": "npm:[email protected]",
8585
"eslint-plugin-import_bottom": "npm:[email protected]",
8686
"eslint-plugin-n_bottom": "npm:[email protected]",

src/plugin-usage/eslint.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ const usage: PluginUsage = {
143143
{ destructuring: 'all', ignoreReadBeforeAssign: false },
144144
],
145145
'prefer-regex-literals': ['error', { disallowRedundantWrapping: true }],
146+
'preserve-caught-error': ['error', { requireCatchParameter: true }],
146147
'symbol-description': ['error'],
147148
'unicode-bom': ['error', 'never'],
148149
'use-isnan': [

src/test/expected-exported-value/_eslint.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ export const expectedEslintRules: Record<
143143
{ destructuring: 'all', ignoreReadBeforeAssign: false },
144144
],
145145
'prefer-regex-literals': ['error', { disallowRedundantWrapping: true }],
146+
'preserve-caught-error': ['error', { requireCatchParameter: true }],
146147
'symbol-description': ['error'],
147148
'unicode-bom': ['error', 'never'],
148149
'use-isnan': [

0 commit comments

Comments
 (0)