@radham/eslint-config 10.1.0 → 12.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,21 @@ 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
+ [12.0.0] - 2025-11-26
10
+ ---------------------
11
+
12
+ ### Changed
13
+
14
+ - Added `fn` to the allow list for the `unicorn/prevent-abbreviations` rule.
15
+ - Disabled the `unicorn/no-array-for-each` rule.
16
+
17
+ [11.0.0] - 2025-11-21
18
+ ---------------------
19
+
20
+ ### Changed
21
+
22
+ - Enabled `withDash` for the `unicorn/text-encoding-identifier-case` rule.
23
+
9
24
  [10.1.0] - 2025-11-19
10
25
  ---------------------
11
26
 
@@ -136,6 +151,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
136
151
 
137
152
  - Initial release.
138
153
 
154
+ [12.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v11.0.0...v12.0.0
155
+ [11.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v10.1.0...v11.0.0
139
156
  [10.1.0]: https://github.com/jbenner-radham/eslint-config/compare/v10.0.0...v10.1.0
140
157
  [10.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v9.0.0...v10.0.0
141
158
  [9.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v8.1.0...v9.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radham/eslint-config",
3
- "version": "10.1.0",
3
+ "version": "12.0.0",
4
4
  "description": "A shareable ESLint config with Stylistic.",
5
5
  "keywords": [
6
6
  "eslint",
package/src/index.js CHANGED
@@ -124,6 +124,7 @@ export default defineConfig([
124
124
  'unicorn/filename-case': ['error', {
125
125
  cases: { kebabCase: true, pascalCase: true }
126
126
  }],
127
+ 'unicorn/no-array-for-each': 'off',
127
128
  'unicorn/no-await-expression-member': 'error',
128
129
  'unicorn/no-for-loop': 'error',
129
130
  'unicorn/no-nested-ternary': 'error',
@@ -134,9 +135,11 @@ export default defineConfig([
134
135
  'unicorn/prevent-abbreviations': ['error', {
135
136
  allowList: {
136
137
  args: true, // `arguments` is a reserved word.
138
+ fn: true, // `function` is a reserved word.
137
139
  pkg: true // `package` is a reserved word.
138
140
  }
139
141
  }],
142
+ 'unicorn/text-encoding-identifier-case': ['error', { withDash: true }],
140
143
  camelcase: 'error',
141
144
  eqeqeq: ['error', 'smart'],
142
145
  'no-nested-ternary': 'off',