eslint-config-seekingalpha-base 6.3.0 → 6.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 +10 -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,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 6.5.0 - 2023-05-07
|
|
4
|
+
|
|
5
|
+
- [deps] update `eslint` to version `8.40.0`
|
|
6
|
+
- [deps] update `eslint-plugin-unicorn` to version `47.0.0`
|
|
7
|
+
- [breaking] enable `unicorn/prefer-blob-reading-methods` rule
|
|
8
|
+
|
|
9
|
+
## 6.4.0 - 2023-04-23
|
|
10
|
+
|
|
11
|
+
- [deps] update `eslint` to version `8.39.0`
|
|
12
|
+
|
|
3
13
|
## 6.3.0 - 2023-04-11
|
|
4
14
|
|
|
5
15
|
- allow `in` binary operator
|
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.
|
|
9
|
+
npm install eslint@8.40.0 eslint-plugin-array-func@3.1.8 eslint-plugin-import@2.27.5 eslint-plugin-no-use-extend-native@0.5.0 eslint-plugin-promise@6.1.1 eslint-plugin-unicorn@47.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": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"description": "SeekingAlpha's sharable base ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -48,20 +48,20 @@
|
|
|
48
48
|
"node": ">= 18"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"eslint": "8.
|
|
51
|
+
"eslint": "8.40.0",
|
|
52
52
|
"eslint-plugin-array-func": "3.1.8",
|
|
53
53
|
"eslint-plugin-import": "2.27.5",
|
|
54
54
|
"eslint-plugin-no-use-extend-native": "0.5.0",
|
|
55
55
|
"eslint-plugin-promise": "6.1.1",
|
|
56
|
-
"eslint-plugin-unicorn": "
|
|
56
|
+
"eslint-plugin-unicorn": "47.0.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"eslint": "8.
|
|
59
|
+
"eslint": "8.40.0",
|
|
60
60
|
"eslint-find-rules": "4.1.0",
|
|
61
61
|
"eslint-plugin-array-func": "3.1.8",
|
|
62
62
|
"eslint-plugin-import": "2.27.5",
|
|
63
63
|
"eslint-plugin-no-use-extend-native": "0.5.0",
|
|
64
64
|
"eslint-plugin-promise": "6.1.1",
|
|
65
|
-
"eslint-plugin-unicorn": "
|
|
65
|
+
"eslint-plugin-unicorn": "47.0.0"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -213,6 +213,9 @@ module.exports = {
|
|
|
213
213
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-array-some.md
|
|
214
214
|
'unicorn/prefer-array-some': 'error',
|
|
215
215
|
|
|
216
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-blob-reading-methods.md
|
|
217
|
+
'unicorn/prefer-blob-reading-methods': 'error',
|
|
218
|
+
|
|
216
219
|
/*
|
|
217
220
|
* https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-at.md
|
|
218
221
|
* experimental feature
|