eslint-config-seekingalpha-base 6.4.0 → 6.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.6.0 - 2023-05-10
4
+
5
+ - [breaking] enable `unicorn/prefer-at` rule
6
+ - [breaking] enable `unicorn/prefer-string-replace-all` rule
7
+ -
8
+
9
+ ## 6.5.0 - 2023-05-07
10
+
11
+ - [deps] update `eslint` to version `8.40.0`
12
+ - [deps] update `eslint-plugin-unicorn` to version `47.0.0`
13
+ - [breaking] enable `unicorn/prefer-blob-reading-methods` rule
14
+
3
15
  ## 6.4.0 - 2023-04-23
4
16
 
5
17
  - [deps] update `eslint` to version `8.39.0`
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.39.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.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.4.0",
3
+ "version": "6.6.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.39.0",
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": "46.0.0"
56
+ "eslint-plugin-unicorn": "47.0.0"
57
57
  },
58
58
  "devDependencies": {
59
- "eslint": "8.39.0",
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": "46.0.0"
65
+ "eslint-plugin-unicorn": "47.0.0"
66
66
  }
67
67
  }
@@ -213,11 +213,11 @@ 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
- /*
217
- * https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-at.md
218
- * experimental feature
219
- */
220
- 'unicorn/prefer-at': 'off',
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
+
219
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-at.md
220
+ 'unicorn/prefer-at': 'error',
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',
@@ -321,10 +321,7 @@ module.exports = {
321
321
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-spread.md
322
322
  'unicorn/prefer-spread': 'off',
323
323
 
324
- /*
325
- * proposal, enable when get into standard
326
- * https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-string-replace-all.md
327
- */
324
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-string-replace-all.md
328
325
  'unicorn/prefer-string-replace-all': 'off',
329
326
 
330
327
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-string-slice.md