flatlint 1.83.0 → 1.84.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.01.24, v1.84.0
2
+
3
+ feature:
4
+ - 7fc3c51 flatlint: jsx
5
+
1
6
  2025.01.23, v1.83.0
2
7
 
3
8
  feature:
@@ -24,7 +24,10 @@ export const prepare = (a) => {
24
24
  if (!isString(a))
25
25
  return a;
26
26
 
27
- const array = Array.from(tokenize(a));
27
+ const array = Array.from(tokenize(a, {
28
+ jsx: true,
29
+ }));
30
+
28
31
  preprocess(array);
29
32
 
30
33
  return array;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "1.83.0",
3
+ "version": "1.84.0",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",