flatlint 2.3.2 → 2.3.3

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.3
2
+
3
+ fix:
4
+ - 307c3ef add-missing-round-brace: false positive on function declaration
5
+
1
6
  2025.03.07, v2.3.2
2
7
 
3
8
  fix:
@@ -61,6 +61,9 @@ export const match = () => ({
61
61
  return false;
62
62
  },
63
63
  '}': (vars, path) => {
64
+ if (!path.isNext())
65
+ return false;
66
+
64
67
  if (path.isNextKeyword())
65
68
  return false;
66
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",