eslint-config-seekingalpha-base 6.6.2 → 6.7.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
|
+
## 6.7.0 - 2023-05-21
|
|
4
|
+
|
|
5
|
+
- [deps] update `eslint` to version `8.41.0`
|
|
6
|
+
|
|
7
|
+
## 6.6.3 - 2023-05-11
|
|
8
|
+
|
|
9
|
+
- [breaking] disable `unicorn/prefer-at` rule
|
|
10
|
+
|
|
3
11
|
## 6.6.2 - 2023-05-10
|
|
4
12
|
|
|
5
13
|
- [breaking] enable `unicorn/prefer-object-from-entries` rule
|
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.41.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.7.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.
|
|
51
|
+
"eslint": "8.41.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",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"eslint-plugin-unicorn": "47.0.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"eslint": "8.
|
|
59
|
+
"eslint": "8.41.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",
|
|
@@ -62,10 +62,7 @@ module.exports = {
|
|
|
62
62
|
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-relative-packages.md
|
|
63
63
|
'import/no-relative-packages': 'error',
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
* https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unused-modules.md
|
|
67
|
-
* enable after mod.name bug fixed
|
|
68
|
-
*/
|
|
65
|
+
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unused-modules.md
|
|
69
66
|
'import/no-unused-modules': 'error',
|
|
70
67
|
},
|
|
71
68
|
};
|
|
@@ -217,7 +217,7 @@ module.exports = {
|
|
|
217
217
|
'unicorn/prefer-blob-reading-methods': 'error',
|
|
218
218
|
|
|
219
219
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-at.md
|
|
220
|
-
'unicorn/prefer-at': '
|
|
220
|
+
'unicorn/prefer-at': 'off',
|
|
221
221
|
|
|
222
222
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-code-point.md
|
|
223
223
|
'unicorn/prefer-code-point': 'error',
|