eslint-config-seekingalpha-base 11.7.0 → 11.9.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
@@ -1,5 +1,16 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.9.0 - 2025-05-03
4
+
5
+ - [deps] update `eslint` to version `9.26.0`
6
+
7
+ ## 11.8.0 - 2025-04-28
8
+
9
+ - [deps] update `eslint-plugin-unicorn` to version `59.0.0`
10
+ - [breaking] enable `unicorn/no-unnecessary-array-flat-depth` rule
11
+ - [breaking] enable `unicorn/no-unnecessary-array-splice-count` rule
12
+ - [breaking] enable `unicorn/prefer-import-meta-properties` rule
13
+
3
14
  ## 11.7.0 - 2025-04-22
4
15
 
5
16
  - [deps] update `eslint` to version `9.25.1`
package/README.md CHANGED
@@ -6,7 +6,7 @@ This package includes the shareable ESLint config used by [SeekingAlpha](https:/
6
6
 
7
7
  Install ESLint and all [Peer Dependencies](https://nodejs.org/en/blog/npm/peer-dependencies/):
8
8
 
9
- npm install eslint@9.25.1 eslint-plugin-array-func@5.0.2 eslint-plugin-import@2.31.0 eslint-plugin-promise@7.2.1 eslint-plugin-unicorn@58.0.0 --save-dev
9
+ npm install eslint@9.26.0 eslint-plugin-array-func@5.0.2 eslint-plugin-import@2.31.0 eslint-plugin-promise@7.2.1 eslint-plugin-unicorn@59.0.0 --save-dev
10
10
 
11
11
  Install SeekingAlpha shareable ESLint:
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-base",
3
- "version": "11.7.0",
3
+ "version": "11.9.0",
4
4
  "description": "SeekingAlpha's sharable base ESLint config",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -48,18 +48,18 @@
48
48
  "node": ">= 22"
49
49
  },
50
50
  "peerDependencies": {
51
- "eslint": "9.25.1",
51
+ "eslint": "9.26.0",
52
52
  "eslint-plugin-array-func": "5.0.2",
53
53
  "eslint-plugin-import": "2.31.0",
54
54
  "eslint-plugin-promise": "7.2.1",
55
- "eslint-plugin-unicorn": "58.0.0"
55
+ "eslint-plugin-unicorn": "59.0.0"
56
56
  },
57
57
  "devDependencies": {
58
- "eslint": "9.25.1",
58
+ "eslint": "9.26.0",
59
59
  "eslint-find-rules": "5.0.0",
60
60
  "eslint-plugin-array-func": "5.0.2",
61
61
  "eslint-plugin-import": "2.31.0",
62
62
  "eslint-plugin-promise": "7.2.1",
63
- "eslint-plugin-unicorn": "58.0.0"
63
+ "eslint-plugin-unicorn": "59.0.0"
64
64
  }
65
65
  }
@@ -88,8 +88,8 @@ export default {
88
88
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-method-this-argument.md
89
89
  'unicorn/no-array-method-this-argument': 'error',
90
90
 
91
- // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-push-push.md
92
- 'unicorn/no-array-push-push': 'error',
91
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-single-call.md
92
+ 'unicorn/prefer-single-call': 'error',
93
93
 
94
94
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-array-reduce.md
95
95
  'unicorn/no-array-reduce': 'off',
@@ -182,8 +182,8 @@ export default {
182
182
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-single-promise-in-promise-methods.md
183
183
  'unicorn/no-single-promise-in-promise-methods': 'error',
184
184
 
185
- // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-length-as-slice-end.md
186
- 'unicorn/no-length-as-slice-end': 'error',
185
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-slice-end.md
186
+ 'unicorn/no-unnecessary-slice-end': 'error',
187
187
 
188
188
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-static-only-class.md
189
189
  'unicorn/no-static-only-class': 'error',
@@ -200,6 +200,12 @@ export default {
200
200
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-await.md
201
201
  'unicorn/no-unnecessary-await': 'error',
202
202
 
203
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-array-flat-depth.md
204
+ 'unicorn/no-unnecessary-array-flat-depth': 'error',
205
+
206
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-array-splice-count.md
207
+ 'unicorn/no-unnecessary-array-splice-count': 'error',
208
+
203
209
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-polyfills.md
204
210
  'unicorn/no-unnecessary-polyfills': 'error',
205
211
 
@@ -301,6 +307,9 @@ export default {
301
307
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-global-this.md
302
308
  'unicorn/prefer-global-this': 'off',
303
309
 
310
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-import-meta-properties.md
311
+ 'unicorn/prefer-import-meta-properties': 'error',
312
+
304
313
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-includes.md
305
314
  'unicorn/prefer-includes': 'error',
306
315