flatlint 2.10.0 → 2.11.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.15, v2.11.0
2
+
3
+ feature:
4
+ - 879cc06 flatlint: add-missing-comma: object
5
+
1
6
  2025.03.14, v2.10.0
2
7
 
3
8
  feature:
@@ -9,6 +9,9 @@ export const report = () => 'Add missing comma';
9
9
 
10
10
  export const match = () => ({
11
11
  '"__a"': (vars, path) => {
12
+ if (path.isNextPunctuator(quote))
13
+ return true;
14
+
12
15
  if (path.isNextKeyword())
13
16
  return false;
14
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",