eslint-config-seekingalpha-base 6.6.0 → 6.6.2

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,10 +1,16 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.6.2 - 2023-05-10
4
+
5
+ - [breaking] enable `unicorn/prefer-object-from-entries` rule
6
+
7
+ ## 6.6.1 - 2023-05-10
8
+
9
+ - [breaking] enable `unicorn/prefer-string-replace-all` rule
10
+
3
11
  ## 6.6.0 - 2023-05-10
4
12
 
5
13
  - [breaking] enable `unicorn/prefer-at` rule
6
- - [breaking] enable `unicorn/prefer-string-replace-all` rule
7
- -
8
14
 
9
15
  ## 6.5.0 - 2023-05-07
10
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-base",
3
- "version": "6.6.0",
3
+ "version": "6.6.2",
4
4
  "description": "SeekingAlpha's sharable base ESLint config",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -282,20 +282,14 @@ module.exports = {
282
282
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-negative-index.md
283
283
  'unicorn/prefer-negative-index': 'error',
284
284
 
285
- /*
286
- * Enable after migration to nodejs 16 with esm
287
- * https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md
288
- */
285
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md
289
286
  'unicorn/prefer-node-protocol': 'error',
290
287
 
291
288
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-number-properties.md
292
289
  'unicorn/prefer-number-properties': 'error',
293
290
 
294
- /*
295
- * proposal, enable when get into standard
296
- * https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-object-from-entries.md
297
- */
298
- 'unicorn/prefer-object-from-entries': 'off',
291
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-object-from-entries.md
292
+ 'unicorn/prefer-object-from-entries': 'error',
299
293
 
300
294
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-optional-catch-binding.md
301
295
  'unicorn/prefer-optional-catch-binding': 'error',
@@ -322,7 +316,7 @@ module.exports = {
322
316
  'unicorn/prefer-spread': 'off',
323
317
 
324
318
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-string-replace-all.md
325
- 'unicorn/prefer-string-replace-all': 'off',
319
+ 'unicorn/prefer-string-replace-all': 'error',
326
320
 
327
321
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-string-slice.md
328
322
  'unicorn/prefer-string-slice': 'error',