eslint-config-seekingalpha-base 6.16.0 → 6.18.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,14 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.18.0 - 2023-08-12
4
+
5
+ - [deps] update `eslint` to version `8.47.0`
6
+
7
+ ## 6.17.0 - 2023-08-07
8
+
9
+ - [patch] enable the `operator-linebreak` rule with new config
10
+ - [patch] allow template literals in the `quotes` rule
11
+
3
12
  ## 6.16.0 - 2023-08-04
4
13
 
5
14
  - [patch] disable the `multiline-ternary` 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.46.0 eslint-plugin-array-func@3.1.8 eslint-plugin-import@2.28.0 eslint-plugin-no-use-extend-native@0.5.0 eslint-plugin-promise@6.1.1 eslint-plugin-unicorn@48.0.1 --save-dev
9
+ npm install eslint@8.47.0 eslint-plugin-array-func@3.1.8 eslint-plugin-import@2.28.0 eslint-plugin-no-use-extend-native@0.5.0 eslint-plugin-promise@6.1.1 eslint-plugin-unicorn@48.0.1 --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.16.0",
3
+ "version": "6.18.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.46.0",
51
+ "eslint": "8.47.0",
52
52
  "eslint-plugin-array-func": "3.1.8",
53
53
  "eslint-plugin-import": "2.28.0",
54
54
  "eslint-plugin-no-use-extend-native": "0.5.0",
@@ -56,7 +56,7 @@
56
56
  "eslint-plugin-unicorn": "48.0.1"
57
57
  },
58
58
  "devDependencies": {
59
- "eslint": "8.46.0",
59
+ "eslint": "8.47.0",
60
60
  "eslint-find-rules": "4.1.0",
61
61
  "eslint-plugin-array-func": "3.1.8",
62
62
  "eslint-plugin-import": "2.28.0",
@@ -359,7 +359,7 @@ module.exports = {
359
359
  ],
360
360
 
361
361
  // https://eslint.org/docs/rules/operator-linebreak
362
- 'operator-linebreak': 'off',
362
+ 'operator-linebreak': ['error', 'before', { overrides: { '=': 'none' } }],
363
363
 
364
364
  // https://eslint.org/docs/rules/padded-blocks
365
365
  'padded-blocks': [
@@ -413,7 +413,7 @@ module.exports = {
413
413
  'single',
414
414
  {
415
415
  avoidEscape: true,
416
- allowTemplateLiterals: false,
416
+ allowTemplateLiterals: true,
417
417
  },
418
418
  ],
419
419
 
@@ -324,10 +324,7 @@ module.exports = {
324
324
  'error',
325
325
  {
326
326
  // These numbers are used in simple cases, we can exclude them
327
- ignore: [
328
- // eslint-disable-next-line no-magic-numbers
329
- -1, 0, 1,
330
- ],
327
+ ignore: [-1, 0, 1],
331
328
  ignoreArrayIndexes: true,
332
329
  enforceConst: true,
333
330
  detectObjects: false,