@radham/eslint-config 3.0.0 → 4.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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file.
6
6
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
 
9
+ [4.0.0] - 2025-09-15
10
+ --------------------
11
+
12
+ ### Added
13
+
14
+ - Add `preserve-caught-error` rule.
15
+
9
16
  [3.0.0] - 2025-09-08
10
17
  --------------------
11
18
 
@@ -42,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
42
49
 
43
50
  - Initial release.
44
51
 
52
+ [4.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v3.0.0...v4.0.0
45
53
  [3.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v2.0.0...v3.0.0
46
54
  [2.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v1.0.1...v2.0.0
47
55
  [1.0.1]: https://github.com/jbenner-radham/eslint-config/compare/v1.0.0...v1.0.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radham/eslint-config",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "A shareable ESLint config with Stylistic.",
5
5
  "keywords": [
6
6
  "eslint",
package/src/index.js CHANGED
@@ -98,7 +98,8 @@ export default defineConfig([
98
98
  eqeqeq: ['error', 'smart'],
99
99
  'no-unused-vars': 'off',
100
100
  'no-var': 'error',
101
- 'prefer-const': ['error', { destructuring: 'any', ignoreReadBeforeAssign: false }]
101
+ 'prefer-const': ['error', { destructuring: 'any', ignoreReadBeforeAssign: false }],
102
+ 'preserve-caught-error': 'error'
102
103
  }
103
104
  }
104
105
  ]);