flatlint 3.5.0 → 3.6.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.12.28, v3.6.0
2
+
3
+ feature:
4
+ - 03ab628 flatlint: add-missing-comma: }" -> },"
5
+
1
6
  2025.12.10, v3.5.0
2
7
 
3
8
  feature:
package/README.md CHANGED
@@ -255,7 +255,7 @@ t.equal(expected, []);
255
255
  <details><summary>remove useless dot</summary>
256
256
 
257
257
  ```diff
258
- -fn([].);
258
+ -fn([]);
259
259
  +fn([].);
260
260
  ```
261
261
 
@@ -37,6 +37,9 @@ export const match = () => ({
37
37
 
38
38
  return !path.isNextPunctuator();
39
39
  },
40
+ '}': (vars, path) => {
41
+ return path.isNextPunctuator(quote);
42
+ },
40
43
  '"__a"': (vars, path) => {
41
44
  if (path.isNextPunctuator(quote))
42
45
  return true;
@@ -54,4 +57,6 @@ export const match = () => ({
54
57
  export const replace = () => ({
55
58
  '__a': '__a,',
56
59
  '"__a"': '"__a",',
60
+ '}': '},',
57
61
  });
62
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",