eslint-config-seekingalpha-base 8.1.0 → 8.3.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,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.3.0 - 2024-05-15
4
+
5
+ - [deps] removed `eslint-plugin-no-use-extend-native`
6
+
7
+ ## 8.2.0 - 2024-05-12
8
+
9
+ - [breaking] enable `logical-assignment-operators` rule
10
+
3
11
  ## 8.1.0 - 2024-05-12
4
12
 
5
13
  - [deps] update `eslint-plugin-unicorn` to version `53.0.0`
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.57.0 eslint-plugin-array-func@4.0.0 eslint-plugin-import@2.29.1 eslint-plugin-no-use-extend-native@0.5.0 eslint-plugin-promise@6.1.1 eslint-plugin-unicorn@53.0.0 --save-dev
9
+ npm install eslint@8.57.0 eslint-plugin-array-func@4.0.0 eslint-plugin-import@2.29.1 eslint-plugin-promise@6.1.1 eslint-plugin-unicorn@53.0.0 --save-dev
10
10
 
11
11
  Install SeekingAlpha shareable ESLint:
12
12
 
@@ -18,7 +18,6 @@ This shareable config includes all ESLint rules including ECMAScript 6 features
18
18
 
19
19
  - [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import)
20
20
  - [eslint-plugin-array-func](https://github.com/freaktechnik/eslint-plugin-array-func)
21
- - [eslint-plugin-no-use-extend-native](https://github.com/dustinspecker/eslint-plugin-no-use-extend-native)
22
21
  - [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise)
23
22
  - [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
24
23
 
package/index.js CHANGED
@@ -9,9 +9,6 @@ module.exports = {
9
9
  // eslint-plugin-array-func rules (https://github.com/freaktechnik/eslint-plugin-array-func)
10
10
  './rules/eslint-plugin-array-func/index.js',
11
11
 
12
- // eslint-plugin-no-use-extend-native rules (https://github.com/dustinspecker/eslint-plugin-no-use-extend-native)
13
- './rules/eslint-plugin-no-use-extend-native/index.js',
14
-
15
12
  // eslint-plugin-promise rules (https://github.com/xjamundx/eslint-plugin-promise)
16
13
  './rules/eslint-plugin-promise/index.js',
17
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-base",
3
- "version": "8.1.0",
3
+ "version": "8.3.0",
4
4
  "description": "SeekingAlpha's sharable base ESLint config",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -60,7 +60,6 @@
60
60
  "eslint-find-rules": "4.1.0",
61
61
  "eslint-plugin-array-func": "4.0.0",
62
62
  "eslint-plugin-import": "2.29.1",
63
- "eslint-plugin-no-use-extend-native": "0.5.0",
64
63
  "eslint-plugin-promise": "6.1.1",
65
64
  "eslint-plugin-unicorn": "53.0.0"
66
65
  }
@@ -145,6 +145,9 @@ module.exports = {
145
145
  // https://eslint.org/docs/rules/init-declarations
146
146
  'init-declarations': ['off', 'always'],
147
147
 
148
+ // https://eslint.org/docs/latest/rules/logical-assignment-operators
149
+ 'logical-assignment-operators': ['error', 'always'],
150
+
148
151
  // https://eslint.org/docs/rules/max-classes-per-file
149
152
  'max-classes-per-file': ['error', config.maxClassesPerFile],
150
153
 
@@ -1,9 +0,0 @@
1
- // https://github.com/dustinspecker/eslint-plugin-no-use-extend-native
2
-
3
- module.exports = {
4
- plugins: ['no-use-extend-native'],
5
-
6
- rules: {
7
- 'no-use-extend-native/no-use-extend-native': 'error',
8
- },
9
- };