@radham/eslint-config 11.0.0 → 13.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 +17 -0
- package/package.json +9 -6
- package/src/index.js +3 -0
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
|
+
[13.0.0] - 2026-02-08
|
|
10
|
+
---------------------
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Disabled the `unicorn/no-useless-undefined` rule.
|
|
15
|
+
|
|
16
|
+
[12.0.0] - 2025-11-26
|
|
17
|
+
---------------------
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Added `fn` to the allow list for the `unicorn/prevent-abbreviations` rule.
|
|
22
|
+
- Disabled the `unicorn/no-array-for-each` rule.
|
|
23
|
+
|
|
9
24
|
[11.0.0] - 2025-11-21
|
|
10
25
|
---------------------
|
|
11
26
|
|
|
@@ -143,6 +158,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
143
158
|
|
|
144
159
|
- Initial release.
|
|
145
160
|
|
|
161
|
+
[13.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v12.0.0...v13.0.0
|
|
162
|
+
[12.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v11.0.0...v12.0.0
|
|
146
163
|
[11.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v10.1.0...v11.0.0
|
|
147
164
|
[10.1.0]: https://github.com/jbenner-radham/eslint-config/compare/v10.0.0...v10.1.0
|
|
148
165
|
[10.0.0]: https://github.com/jbenner-radham/eslint-config/compare/v9.0.0...v10.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@radham/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "A shareable ESLint config with Stylistic.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
"src",
|
|
26
26
|
"CHANGELOG.md"
|
|
27
27
|
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"np": "np --no-publish --no-tests",
|
|
30
|
+
"prepare": "husky",
|
|
31
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
32
|
+
},
|
|
28
33
|
"dependencies": {
|
|
29
34
|
"@eslint/compat": "^2.0.0",
|
|
30
35
|
"@eslint/js": "^9.39.1",
|
|
@@ -37,6 +42,7 @@
|
|
|
37
42
|
},
|
|
38
43
|
"devDependencies": {
|
|
39
44
|
"@eslint/json": "^0.14.0",
|
|
45
|
+
"@radham/changelog": "^0.1.1",
|
|
40
46
|
"eslint": "^9.39.1",
|
|
41
47
|
"globals": "^16.5.0",
|
|
42
48
|
"husky": "^9.1.7",
|
|
@@ -47,8 +53,5 @@
|
|
|
47
53
|
"peerDependencies": {
|
|
48
54
|
"eslint": ">=9.35.0"
|
|
49
55
|
},
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
56
|
+
"packageManager": "pnpm@10.15.0"
|
|
57
|
+
}
|
package/src/index.js
CHANGED
|
@@ -124,16 +124,19 @@ 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',
|
|
130
131
|
'unicorn/no-static-only-class': 'off',
|
|
131
132
|
'unicorn/no-useless-length-check': 'off',
|
|
133
|
+
'unicorn/no-useless-undefined': 'off',
|
|
132
134
|
'unicorn/prefer-set-has': 'off',
|
|
133
135
|
'unicorn/prefer-set-size': 'off',
|
|
134
136
|
'unicorn/prevent-abbreviations': ['error', {
|
|
135
137
|
allowList: {
|
|
136
138
|
args: true, // `arguments` is a reserved word.
|
|
139
|
+
fn: true, // `function` is a reserved word.
|
|
137
140
|
pkg: true // `package` is a reserved word.
|
|
138
141
|
}
|
|
139
142
|
}],
|