flatlint 2.2.0 → 2.3.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 CHANGED
@@ -1,3 +1,8 @@
1
+ 2025.03.07, v2.3.0
2
+
3
+ feature:
4
+ - 21cb416 remove-useless-round-brace: false positive
5
+
1
6
  2025.03.07, v2.2.0
2
7
 
3
8
  feature:
@@ -34,9 +34,6 @@ export const match = () => ({
34
34
 
35
35
  if (isPunctuator(current, closeRoundBrace))
36
36
  --balance;
37
-
38
- if (isKeyword(current, 'if'))
39
- break;
40
37
  }
41
38
 
42
39
  return !balance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",