eslint-config-seekingalpha-base 6.6.1 → 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,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.6.2 - 2023-05-10
4
+
5
+ - [breaking] enable `unicorn/prefer-object-from-entries` rule
6
+
3
7
  ## 6.6.1 - 2023-05-10
4
8
 
5
9
  - [breaking] enable `unicorn/prefer-string-replace-all` rule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-base",
3
- "version": "6.6.1",
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',