redlint 5.7.0 → 6.1.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 +15 -0
- package/README.md +2 -2
- package/lib/edit/remove-files/remove-files-plugin/index.js +2 -2
- package/lib/test/test.js +1 -1
- package/package.json +9 -8
package/ChangeLog
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
2026.02.19, v6.1.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 1199851 redlint: madrun v13.0.0
|
|
5
|
+
- 99a77f5 redlint: remove-files: simplify
|
|
6
|
+
|
|
7
|
+
2026.02.16, v6.0.0
|
|
8
|
+
|
|
9
|
+
feature:
|
|
10
|
+
- 5649d46 redlint: putout v42.0.0
|
|
11
|
+
- 852a5b4 redlint: eslint-plugin-putout v31.0.0
|
|
12
|
+
- e7d77ca redlint: @putout/plugin-filesystem v13.0.0
|
|
13
|
+
- 7b351a6 redlint: @putout/engine-runner v28.0.0
|
|
14
|
+
- d753237 redlint: eslint v10.0.0
|
|
15
|
+
|
|
1
16
|
2026.02.07, v5.7.0
|
|
2
17
|
|
|
3
18
|
feature:
|
package/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[NPMURL]: https://npmjs.org/package/redlint "npm"
|
|
4
4
|
[NPMIMGURL]: https://img.shields.io/npm/v/redlint.svg?style=flat&longCache=true
|
|
5
|
-
[BuildStatusURL]: https://github.com/putoutjs/
|
|
6
|
-
[BuildStatusIMGURL]: https://github.com/putoutjs/
|
|
5
|
+
[BuildStatusURL]: https://github.com/putoutjs/redlint/actions/workflows/nodejs.yml "Build Status"
|
|
6
|
+
[BuildStatusIMGURL]: https://github.com/putoutjs/redlint/actions/workflows/nodejs.yml/badge.svg
|
|
7
7
|
[LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License"
|
|
8
8
|
[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
|
|
9
9
|
[CoverageURL]: https://coveralls.io/github/putoutjs/printer?branch=master
|
|
@@ -3,7 +3,7 @@ import {operator} from 'putout';
|
|
|
3
3
|
|
|
4
4
|
const {removeFile, getFilename} = operator;
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const difference = (a, b) => new Set(a).difference(new Set(b));
|
|
7
7
|
const isEqual = (a, b) => a.filter(Boolean).length === b.filter(Boolean).length;
|
|
8
8
|
|
|
9
9
|
export const report = (filePath) => {
|
|
@@ -25,7 +25,7 @@ export const scan = (path, {push, trackFile, options}) => {
|
|
|
25
25
|
if (isEqual(from, to))
|
|
26
26
|
return;
|
|
27
27
|
|
|
28
|
-
const removables =
|
|
28
|
+
const removables = difference(from, to);
|
|
29
29
|
const fullNames = getFullNames(dir, removables);
|
|
30
30
|
const trackFileIterator = trackFile(path, fullNames);
|
|
31
31
|
|
package/lib/test/test.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redlint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "Lint Filesystem with 🐊Putout",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
".": "./lib/redlint.js"
|
|
14
14
|
},
|
|
15
15
|
"imports": {
|
|
16
|
-
"#edit": "./lib/edit/edit.js"
|
|
16
|
+
"#edit": "./lib/edit/edit.js",
|
|
17
|
+
"#test": "./test/create-test.js"
|
|
17
18
|
},
|
|
18
19
|
"repository": {
|
|
19
20
|
"type": "git",
|
|
@@ -37,13 +38,13 @@
|
|
|
37
38
|
"@putout/bundler": "^4.0.0",
|
|
38
39
|
"@putout/cli-choose": "^4.0.0",
|
|
39
40
|
"@putout/cli-filesystem": "^3.0.0",
|
|
40
|
-
"@putout/engine-runner": "^
|
|
41
|
+
"@putout/engine-runner": "^28.0.0",
|
|
41
42
|
"@putout/formatter-codeframe": "^10.0.0",
|
|
42
43
|
"@putout/formatter-dump": "^6.1.0",
|
|
43
44
|
"@putout/operator-filesystem": "^11.0.0",
|
|
44
45
|
"@putout/operator-json": "^3.1.0",
|
|
45
46
|
"@putout/plugin-eslint": "^15.0.0",
|
|
46
|
-
"@putout/plugin-filesystem": "^
|
|
47
|
+
"@putout/plugin-filesystem": "^13.0.0",
|
|
47
48
|
"@putout/plugin-nodejs": "^20.0.0",
|
|
48
49
|
"@putout/plugin-react": "^3.0.0",
|
|
49
50
|
"@putout/processor-filesystem": "^8.0.0",
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"montag": "^1.2.1",
|
|
58
59
|
"obligator": "^3.0.0",
|
|
59
60
|
"ora": "^9.0.0",
|
|
60
|
-
"putout": "^
|
|
61
|
+
"putout": "^42.0.0",
|
|
61
62
|
"strip-ansi": "^7.1.0",
|
|
62
63
|
"try-to-catch": "^4.0.0"
|
|
63
64
|
},
|
|
@@ -73,10 +74,10 @@
|
|
|
73
74
|
"devDependencies": {
|
|
74
75
|
"@putout/test": "^15.0.0",
|
|
75
76
|
"c8": "^10.1.2",
|
|
76
|
-
"eslint": "^
|
|
77
|
-
"eslint-plugin-putout": "^
|
|
77
|
+
"eslint": "^10.0.0",
|
|
78
|
+
"eslint-plugin-putout": "^31.0.0",
|
|
78
79
|
"just-kebab-case": "^4.2.0",
|
|
79
|
-
"madrun": "^
|
|
80
|
+
"madrun": "^13.0.0",
|
|
80
81
|
"nodemon": "^3.0.1",
|
|
81
82
|
"supertape": "^12.0.7"
|
|
82
83
|
},
|