flatlint 3.4.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 +12 -0
- package/README.md +1 -1
- package/lib/plugins/add-missing-comma/index.js +5 -0
- package/package.json +4 -4
package/ChangeLog
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
2025.12.28, v3.6.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 03ab628 flatlint: add-missing-comma: }" -> },"
|
|
5
|
+
|
|
6
|
+
2025.12.10, v3.5.0
|
|
7
|
+
|
|
8
|
+
feature:
|
|
9
|
+
- ae78398 flatlint: putout v41.0.2
|
|
10
|
+
- 20b567e flatlint: js-tokens v10.0.0
|
|
11
|
+
- a366b3b flatlint: eslint-plugin-putout v29.0.2
|
|
12
|
+
|
|
1
13
|
2025.11.27, v3.4.0
|
|
2
14
|
|
|
3
15
|
feature:
|
package/README.md
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "JavaScript tokens-based linter",
|
|
5
5
|
"main": "lib/flatlint.js",
|
|
6
6
|
"type": "module",
|
|
@@ -80,18 +80,18 @@
|
|
|
80
80
|
"@putout/engine-loader": "^16.0.0",
|
|
81
81
|
"@putout/operator-keyword": "^3.0.0",
|
|
82
82
|
"debug": "^4.4.0",
|
|
83
|
-
"js-tokens": "^
|
|
83
|
+
"js-tokens": "^10.0.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@putout/test": "^14.0.0",
|
|
87
87
|
"c8": "^10.1.2",
|
|
88
88
|
"eslint": "^9.7.0",
|
|
89
|
-
"eslint-plugin-putout": "^
|
|
89
|
+
"eslint-plugin-putout": "^29.0.2",
|
|
90
90
|
"madrun": "^11.0.0",
|
|
91
91
|
"mock-require": "^3.0.3",
|
|
92
92
|
"montag": "^1.0.0",
|
|
93
93
|
"nodemon": "^3.0.1",
|
|
94
|
-
"putout": "^
|
|
94
|
+
"putout": "^41.0.2",
|
|
95
95
|
"supertape": "^11.0.4"
|
|
96
96
|
},
|
|
97
97
|
"engines": {
|