eslint-config-seekingalpha-base 6.22.0 → 6.23.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,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.23.0 - 2023-09-25
4
+
5
+ - [deps] update `eslint` to version `8.50.0`
6
+ - [patch] remove deprecated `no-new-object` rule
7
+ - [breaking] enable `no-object-constructor` rule
8
+
3
9
  ## 6.22.0 - 2023-09-13
4
10
 
5
11
  - [deps] update `eslint-plugin-array-func` to version `4.0.8`
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@8.49.0 eslint-plugin-array-func@4.0.0 eslint-plugin-import@2.28.1 eslint-plugin-no-use-extend-native@0.5.0 eslint-plugin-promise@6.1.1 eslint-plugin-unicorn@48.0.1 --save-dev
9
+ npm install eslint@8.50.0 eslint-plugin-array-func@4.0.0 eslint-plugin-import@2.28.1 eslint-plugin-no-use-extend-native@0.5.0 eslint-plugin-promise@6.1.1 eslint-plugin-unicorn@48.0.1 --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": "6.22.0",
3
+ "version": "6.23.0",
4
4
  "description": "SeekingAlpha's sharable base ESLint config",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -48,7 +48,7 @@
48
48
  "node": ">= 18"
49
49
  },
50
50
  "peerDependencies": {
51
- "eslint": "8.49.0",
51
+ "eslint": "8.50.0",
52
52
  "eslint-plugin-array-func": "4.0.0",
53
53
  "eslint-plugin-import": "2.28.1",
54
54
  "eslint-plugin-no-use-extend-native": "0.5.0",
@@ -56,7 +56,7 @@
56
56
  "eslint-plugin-unicorn": "48.0.1"
57
57
  },
58
58
  "devDependencies": {
59
- "eslint": "8.49.0",
59
+ "eslint": "8.50.0",
60
60
  "eslint-find-rules": "4.1.0",
61
61
  "eslint-plugin-array-func": "4.0.0",
62
62
  "eslint-plugin-import": "2.28.1",
@@ -364,15 +364,15 @@ module.exports = {
364
364
  // https://eslint.org/docs/rules/no-new-func
365
365
  'no-new-func': 'error',
366
366
 
367
- // https://eslint.org/docs/rules/no-new-object
368
- 'no-new-object': 'error',
369
-
370
367
  // https://eslint.org/docs/rules/no-new-wrappers
371
368
  'no-new-wrappers': 'error',
372
369
 
373
370
  // https://eslint.org/docs/rules/no-nonoctal-decimal-escape
374
371
  'no-nonoctal-decimal-escape': 'error',
375
372
 
373
+ // https://eslint.org/docs/latest/rules/no-object-constructor
374
+ 'no-object-constructor': 'error',
375
+
376
376
  // https://eslint.org/docs/rules/no-octal
377
377
  'no-octal': 'error',
378
378