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