eslint-config-seekingalpha-base 8.1.0 → 8.2.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
+ ## 8.2.0 - 2024-05-12
4
+
5
+ - [breaking] enable `logical-assignment-operators` rule
6
+
3
7
  ## 8.1.0 - 2024-05-12
4
8
 
5
9
  - [deps] update `eslint-plugin-unicorn` to version `53.0.0`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-base",
3
- "version": "8.1.0",
3
+ "version": "8.2.0",
4
4
  "description": "SeekingAlpha's sharable base ESLint config",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -145,6 +145,9 @@ module.exports = {
145
145
  // https://eslint.org/docs/rules/init-declarations
146
146
  'init-declarations': ['off', 'always'],
147
147
 
148
+ // https://eslint.org/docs/latest/rules/logical-assignment-operators
149
+ 'logical-assignment-operators': ['error', 'always'],
150
+
148
151
  // https://eslint.org/docs/rules/max-classes-per-file
149
152
  'max-classes-per-file': ['error', config.maxClassesPerFile],
150
153