eslint-config-seekingalpha-base 12.4.0 → 12.6.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 +8 -0
- package/README.md +1 -1
- package/package.json +5 -5
- package/rules/eslint-plugin-unicorn/index.js +11 -0
package/CHANGELOG.md
CHANGED
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@10.8.
|
|
9
|
+
npm install eslint@10.8.1 eslint-plugin-import-x@4.17.1 eslint-plugin-promise@7.3.0 eslint-plugin-unicorn@73.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": "12.
|
|
3
|
+
"version": "12.6.0",
|
|
4
4
|
"description": "SeekingAlpha's sharable base ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -48,16 +48,16 @@
|
|
|
48
48
|
"node": ">= 24"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"eslint": "10.8.
|
|
51
|
+
"eslint": "10.8.1",
|
|
52
52
|
"eslint-plugin-import-x": "4.17.1",
|
|
53
53
|
"eslint-plugin-promise": "7.3.0",
|
|
54
|
-
"eslint-plugin-unicorn": "
|
|
54
|
+
"eslint-plugin-unicorn": "73.0.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"eslint": "10.8.
|
|
57
|
+
"eslint": "10.8.1",
|
|
58
58
|
"eslint-plugin-import-x": "4.17.1",
|
|
59
59
|
"eslint-plugin-promise": "7.3.0",
|
|
60
|
-
"eslint-plugin-unicorn": "
|
|
60
|
+
"eslint-plugin-unicorn": "73.0.0"
|
|
61
61
|
},
|
|
62
62
|
"allowScripts": {
|
|
63
63
|
"unrs-resolver@1.12.2": true
|
|
@@ -1069,5 +1069,16 @@ export default {
|
|
|
1069
1069
|
'unicorn/no-for-each': 'off',
|
|
1070
1070
|
|
|
1071
1071
|
'unicorn/no-unnecessary-array-flat-map': 'error',
|
|
1072
|
+
|
|
1073
|
+
// prefer arrow-body-style
|
|
1074
|
+
'unicorn/consistent-arrow-return-style': 'off',
|
|
1075
|
+
|
|
1076
|
+
'unicorn/iteration-fallback-style': ['error', 'fallback'],
|
|
1077
|
+
|
|
1078
|
+
'unicorn/no-barrel-files': 'error',
|
|
1079
|
+
|
|
1080
|
+
'unicorn/no-unsafe-sqlite-interpolation': 'error',
|
|
1081
|
+
|
|
1082
|
+
'unicorn/single-line-block-comment-style': 'off',
|
|
1072
1083
|
},
|
|
1073
1084
|
};
|