flatlint 3.10.0 → 3.10.2

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 CHANGED
@@ -1,3 +1,13 @@
1
+ 2025.12.31, v3.10.2
2
+
3
+ feature:
4
+ - cec2d33 flatlint: @putout/engine-loader v17.0.4
5
+
6
+ 2025.12.30, v3.10.1
7
+
8
+ feature:
9
+ - 7a2aa2a flalint: add-mising-assing: false positive
10
+
1
11
  2025.12.30, v3.10.0
2
12
 
3
13
  feature:
@@ -3,6 +3,7 @@ import {
3
3
  isDeclarationKeyword,
4
4
  isKeyword,
5
5
  isPunctuator,
6
+ question,
6
7
  semicolon,
7
8
  } from '#types';
8
9
 
@@ -24,7 +25,10 @@ export const match = () => ({
24
25
  if (path.isNextPunctuator() && !path.isNextPunctuator(semicolon))
25
26
  return false;
26
27
 
27
- return !isPunctuator(assign, __expr);
28
+ if (isPunctuator(assign, __expr))
29
+ return false;
30
+
31
+ return !isPunctuator(question, __expr);
28
32
  },
29
33
  });
30
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "3.10.0",
3
+ "version": "3.10.2",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",
@@ -77,7 +77,7 @@
77
77
  "homepage": "https://github.com/coderaiser/flatlint",
78
78
  "license": "MIT",
79
79
  "dependencies": {
80
- "@putout/engine-loader": "^16.0.0",
80
+ "@putout/engine-loader": "^17.0.4",
81
81
  "@putout/operator-keyword": "^3.0.0",
82
82
  "js-tokens": "^10.0.0",
83
83
  "obug": "^2.1.1"