flatlint 1.63.0 → 1.65.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 +13 -0
- package/README.md +2 -2
- package/lib/flatlint.js +0 -1
- package/lib/runner/replacer.js +5 -3
- package/lib/types/types.js +1 -0
- package/package.json +1 -1
package/ChangeLog
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
2025.01.20, v1.65.0
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- edcfcda flatlint: replacer: column end
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- 8c99182 flatlint: position
|
|
8
|
+
|
|
9
|
+
2025.01.19, v1.64.0
|
|
10
|
+
|
|
11
|
+
feature:
|
|
12
|
+
- 16d4fa1 flatlint: convert-comma-to-semicolon: if
|
|
13
|
+
|
|
1
14
|
2025.01.19, v1.63.0
|
|
2
15
|
|
|
3
16
|
feature:
|
package/README.md
CHANGED
package/lib/flatlint.js
CHANGED
package/lib/runner/replacer.js
CHANGED
|
@@ -70,14 +70,16 @@ export const replace = (tokens, {fix, rule, plugin}) => {
|
|
|
70
70
|
continue;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
const {line, column} = tokens[
|
|
73
|
+
const {line, column} = tokens[end - 1];
|
|
74
74
|
const message = plugin.report();
|
|
75
75
|
|
|
76
76
|
places.push({
|
|
77
77
|
rule,
|
|
78
78
|
message,
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
position: {
|
|
80
|
+
line,
|
|
81
|
+
column,
|
|
82
|
+
},
|
|
81
83
|
});
|
|
82
84
|
|
|
83
85
|
index = end;
|
package/lib/types/types.js
CHANGED