eslint-config-seekingalpha-base 6.0.0 → 6.1.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,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.1.0 - 2023-03-29
4
+
5
+ - [deps] update `eslint` to version `8.37.0`
6
+
3
7
  ## 6.0.0 - 2023-03-28
4
8
 
5
9
  - introduce `eslint-config-seekingalpha-base/prettier` config
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.36.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@46.0.0 --save-dev
9
+ npm install eslint@8.37.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@46.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.0.0",
3
+ "version": "6.1.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.36.0",
51
+ "eslint": "8.37.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": "46.0.0"
57
57
  },
58
58
  "devDependencies": {
59
- "eslint": "8.36.0",
59
+ "eslint": "8.37.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",
package/prettier.js CHANGED
@@ -64,6 +64,11 @@ module.exports = {
64
64
  'wrap-regex': 'off',
65
65
  'yield-star-spacing': 'off',
66
66
 
67
+ // Might be enabled
68
+ 'lines-around-comment': 'off',
69
+ 'no-mixed-operators': 'off',
70
+
71
+ // Unicorn
67
72
  'unicorn/empty-brace-spaces': 'off',
68
73
  'unicorn/no-nested-ternary': 'off',
69
74
  'unicorn/number-literal-case': 'off',
@@ -249,7 +249,13 @@ module.exports = {
249
249
  'no-case-declarations': 'error',
250
250
 
251
251
  // https://eslint.org/docs/rules/no-confusing-arrow
252
- 'no-confusing-arrow': 'error',
252
+ 'no-confusing-arrow': [
253
+ 'error',
254
+ {
255
+ allowParens: false,
256
+ onlyOneSimpleParam: false,
257
+ },
258
+ ],
253
259
 
254
260
  // https://eslint.org/docs/rules/no-console
255
261
  'no-console': 'error',