flatlint 2.0.6 → 2.0.8
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.02.21, v2.0.8
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 705ac61 flatlint: add-missing-round-brace: exclude when no startin quote
|
|
5
|
+
|
|
6
|
+
2025.02.21, v2.0.7
|
|
7
|
+
|
|
8
|
+
feature:
|
|
9
|
+
- 6eaad76 flatlint: convert-comma-to-semicolon: improve support of string arguments
|
|
10
|
+
|
|
1
11
|
2025.02.21, v2.0.6
|
|
2
12
|
|
|
3
13
|
feature:
|
|
@@ -48,7 +48,9 @@ export function parseStringLiteral({i, token, tokens}) {
|
|
|
48
48
|
++count;
|
|
49
49
|
|
|
50
50
|
const literal = StringLiteral(value.slice(1));
|
|
51
|
-
|
|
51
|
+
|
|
52
|
+
if (literal.value)
|
|
53
|
+
newTokens.splice(1, 0, literal);
|
|
52
54
|
|
|
53
55
|
tokens.splice(i, 1, ...newTokens);
|
|
54
56
|
i += count;
|