redlint 6.1.0 → 6.1.2

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,18 @@
1
+ 2026.03.02, v6.1.2
2
+
3
+ fix:
4
+ - 5ec0b8f redlint: rm unused strip-ansi
5
+
6
+ feature:
7
+ - 1c38435 redlint: @putout/formatter-dump v7.0.0
8
+ - 401d783 redlint: superc8 v12.2.4
9
+ - 4889443 redlint: c8 v11.0.0
10
+
11
+ 2026.02.19, v6.1.1
12
+
13
+ feature:
14
+ - 689a065 redlint: @putout/plugin-nodejs v21.0.0
15
+
1
16
  2026.02.19, v6.1.0
2
17
 
3
18
  feature:
@@ -21,7 +21,7 @@ export const convert = (filename, type, filesystem, overrides = {}) => {
21
21
  const ast = parse(source);
22
22
  const options = createOptions(filename, type);
23
23
 
24
- transform(ast, filesystem, {
24
+ transform(ast, {
25
25
  fix: true,
26
26
  fixCount: 1,
27
27
  progress,
@@ -6,7 +6,7 @@ export const readDirectory = (filesystem, {dir, nested, full}) => {
6
6
  const source = toJS(filesystem, __filesystem);
7
7
  const ast = parse(source);
8
8
 
9
- const [{message}] = transform(ast, filesystem, {
9
+ const [{message}] = transform(ast, {
10
10
  fix: false,
11
11
  rules: {
12
12
  'get-filenames': ['on', {
@@ -23,7 +23,7 @@ export const removeFiles = (filesystem, {dir, from, to}, overrides = {}) => {
23
23
  const [{source}] = branch(filesystem);
24
24
  const ast = parse(source);
25
25
 
26
- transform(ast, filesystem, {
26
+ transform(ast, {
27
27
  rules: {
28
28
  'remove-files': ['on', {
29
29
  dir,
@@ -31,7 +31,7 @@ export const renameFiles = (filesystem, {full, dir, from, to}, overrides = {}) =
31
31
  full,
32
32
  });
33
33
 
34
- transform(ast, filesystem, {
34
+ transform(ast, {
35
35
  ...options,
36
36
  fix: true,
37
37
  fixCount: 1,
@@ -21,7 +21,7 @@ export const extract = (to, filesystem, overrides = {}) => {
21
21
  const [{source}] = branch(filesystem);
22
22
  const ast = parse(source);
23
23
 
24
- transform(ast, filesystem, {
24
+ transform(ast, {
25
25
  fixCount: 1,
26
26
  progress,
27
27
  rules: {
package/lib/lint/lint.js CHANGED
@@ -22,7 +22,7 @@ export const lint = async (filesystem, overrides = {}) => {
22
22
 
23
23
  const ast = parse(source);
24
24
 
25
- const places = await transformAsync(ast, source, {
25
+ const places = await transformAsync(ast, {
26
26
  fix,
27
27
  fixCount: 1,
28
28
  ...options,
package/lib/pack/pack.js CHANGED
@@ -23,7 +23,7 @@ export const pack = (from, filesystem, overrides = {}) => {
23
23
  const [{source}] = branch(filesystem);
24
24
  const ast = parse(source);
25
25
 
26
- transform(ast, filesystem, {
26
+ transform(ast, {
27
27
  fix: true,
28
28
  fixCount: 1,
29
29
  progress,
@@ -21,7 +21,7 @@ export const rename = (filename, type, filesystem, overrides = {}) => {
21
21
  const ast = parse(source);
22
22
  const options = createOptions(filename, type);
23
23
 
24
- transform(ast, filesystem, {
24
+ transform(ast, {
25
25
  fix: true,
26
26
  fixCount: 1,
27
27
  progress,
@@ -2,7 +2,7 @@ import {transform} from 'putout';
2
2
  import * as initFixturePlugin from './init-fixture-plugin/index.js';
3
3
 
4
4
  export const initFixture = (ast, names) => {
5
- transform(ast, '', {
5
+ transform(ast, {
6
6
  rules: {
7
7
  'init-fixtures': ['on', {
8
8
  names,
@@ -7,7 +7,7 @@ const getMessage = (a) => a.message;
7
7
  const SPLITTER = ' -> ';
8
8
 
9
9
  export const readFixture = (ast, names) => {
10
- const places = transform(ast, '', {
10
+ const places = transform(ast, {
11
11
  rules: {
12
12
  'read-fixture': ['on', {
13
13
  names,
@@ -5,7 +5,7 @@ const {assign} = Object;
5
5
 
6
6
  export const parseFiles = (source) => {
7
7
  const ast = parse(source);
8
- const places = transform(ast, source, {
8
+ const places = transform(ast, {
9
9
  fix: false,
10
10
  plugins: [
11
11
  ['get-filenames-with-content', getFileNamesWithContent],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redlint",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Lint Filesystem with 🐊Putout",
@@ -40,12 +40,12 @@
40
40
  "@putout/cli-filesystem": "^3.0.0",
41
41
  "@putout/engine-runner": "^28.0.0",
42
42
  "@putout/formatter-codeframe": "^10.0.0",
43
- "@putout/formatter-dump": "^6.1.0",
43
+ "@putout/formatter-dump": "^7.0.0",
44
44
  "@putout/operator-filesystem": "^11.0.0",
45
45
  "@putout/operator-json": "^3.1.0",
46
46
  "@putout/plugin-eslint": "^15.0.0",
47
47
  "@putout/plugin-filesystem": "^13.0.0",
48
- "@putout/plugin-nodejs": "^20.0.0",
48
+ "@putout/plugin-nodejs": "^21.0.0",
49
49
  "@putout/plugin-react": "^3.0.0",
50
50
  "@putout/processor-filesystem": "^8.0.0",
51
51
  "chalk": "^5.3.0",
@@ -56,10 +56,8 @@
56
56
  "ignore": "^7.0.0",
57
57
  "jest-diff": "^30.2.0",
58
58
  "montag": "^1.2.1",
59
- "obligator": "^3.0.0",
60
59
  "ora": "^9.0.0",
61
60
  "putout": "^42.0.0",
62
- "strip-ansi": "^7.1.0",
63
61
  "try-to-catch": "^4.0.0"
64
62
  },
65
63
  "keywords": [
@@ -73,12 +71,12 @@
73
71
  ],
74
72
  "devDependencies": {
75
73
  "@putout/test": "^15.0.0",
76
- "c8": "^10.1.2",
77
74
  "eslint": "^10.0.0",
78
75
  "eslint-plugin-putout": "^31.0.0",
79
76
  "just-kebab-case": "^4.2.0",
80
77
  "madrun": "^13.0.0",
81
78
  "nodemon": "^3.0.1",
79
+ "superc8": "^12.2.4",
82
80
  "supertape": "^12.0.7"
83
81
  },
84
82
  "license": "MIT",