flatlint 3.1.2 → 3.2.1

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.08.05, v3.2.1
2
+
3
+ feature:
4
+ - 20a2767 flatlint: add-missing-squire-brace: simplify
5
+
6
+ 2025.08.05, v3.2.0
7
+
8
+ feature:
9
+ - c8e977c flatlint: add-missing-squire-brace: MemberExpression: add support
10
+
1
11
  2025.08.05, v3.1.2
2
12
 
3
13
  fix:
@@ -1,5 +1,9 @@
1
1
  export const report = () => 'Add missing square brace';
2
2
 
3
+ export const match = () => ({
4
+ '["__a"': (vars, path) => !path.isNext(),
5
+ });
3
6
  export const replace = () => ({
4
7
  '[__array;': '[__array];',
8
+ '["__a"': '["__a"];',
5
9
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "3.1.2",
3
+ "version": "3.2.1",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",