eslint-config-seekingalpha-base 8.3.1 → 8.5.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 +9 -0
- package/README.md +1 -1
- package/package.json +5 -5
- package/rules/eslint-plugin-unicorn/index.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.5.0 - 2024-06-16
|
|
4
|
+
|
|
5
|
+
- [deps] update `eslint-plugin-unicorn` to version `53.0.0`
|
|
6
|
+
- [breaking] enable `unicorn/no-negation-in-equality-check` rule
|
|
7
|
+
|
|
8
|
+
## 8.4.0 - 2024-05-28
|
|
9
|
+
|
|
10
|
+
- [deps] update `eslint-plugin-promise` to version `6.2.0`
|
|
11
|
+
|
|
3
12
|
## 8.3.1 - 2024-05-15
|
|
4
13
|
|
|
5
14
|
- [deps] removed `eslint-plugin-no-use-extend-native`
|
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-promise@6.
|
|
9
|
+
npm install eslint@8.57.0 eslint-plugin-array-func@4.0.0 eslint-plugin-import@2.29.1 eslint-plugin-promise@6.2.0 eslint-plugin-unicorn@54.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": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"description": "SeekingAlpha's sharable base ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
"eslint": "8.57.0",
|
|
52
52
|
"eslint-plugin-array-func": "4.0.0",
|
|
53
53
|
"eslint-plugin-import": "2.29.1",
|
|
54
|
-
"eslint-plugin-promise": "6.
|
|
55
|
-
"eslint-plugin-unicorn": "
|
|
54
|
+
"eslint-plugin-promise": "6.2.0",
|
|
55
|
+
"eslint-plugin-unicorn": "54.0.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"eslint": "8.57.0",
|
|
59
59
|
"eslint-find-rules": "4.1.0",
|
|
60
60
|
"eslint-plugin-array-func": "4.0.0",
|
|
61
61
|
"eslint-plugin-import": "2.29.1",
|
|
62
|
-
"eslint-plugin-promise": "6.
|
|
63
|
-
"eslint-plugin-unicorn": "
|
|
62
|
+
"eslint-plugin-promise": "6.2.0",
|
|
63
|
+
"eslint-plugin-unicorn": "54.0.0"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -126,6 +126,9 @@ module.exports = {
|
|
|
126
126
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-magic-array-flat-depth.md
|
|
127
127
|
'unicorn/no-magic-array-flat-depth': 'error',
|
|
128
128
|
|
|
129
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negation-in-equality-check.md
|
|
130
|
+
'unicorn/no-negation-in-equality-check': 'error',
|
|
131
|
+
|
|
129
132
|
/*
|
|
130
133
|
* Disabled in favour of native ESLint no-negated-condition rule
|
|
131
134
|
* https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negated-condition.md
|