From 76e7cacdc541dfe30b62d879ace4642e472c9946 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 15 Jan 2024 21:22:34 +0200 Subject: [PATCH] chore: redlint: add --- .madrun.mjs | 1 + package.json | 1 + packages/formatter-fail/{.madrun.mjs => .madrun.js} | 0 packages/formatter-json-lines/{.madrun.mjs => .madrun.js} | 0 packages/formatter-progress-bar/{.madrun.mjs => .madrun.js} | 0 packages/formatter-short/{.madrun.mjs => .madrun.js} | 0 packages/formatter-tap/{.madrun.mjs => .madrun.js} | 0 packages/formatter-time/{.madrun.mjs => .madrun.js} | 0 8 files changed, 2 insertions(+) rename packages/formatter-fail/{.madrun.mjs => .madrun.js} (100%) rename packages/formatter-json-lines/{.madrun.mjs => .madrun.js} (100%) rename packages/formatter-progress-bar/{.madrun.mjs => .madrun.js} (100%) rename packages/formatter-short/{.madrun.mjs => .madrun.js} (100%) rename packages/formatter-tap/{.madrun.mjs => .madrun.js} (100%) rename packages/formatter-time/{.madrun.mjs => .madrun.js} (100%) diff --git a/.madrun.mjs b/.madrun.mjs index dc53fd9..de211cc 100644 --- a/.madrun.mjs +++ b/.madrun.mjs @@ -20,6 +20,7 @@ export default { 'fresh:lint': () => run('lint:fresh'), 'fresh': () => run(['lint:memory', 'coverage']), 'lint': () => `putout . --rulesdir rules`, + 'prelint': () => 'redlint scan', 'lint:mark': () => 'putout **/*.md', 'memory': () => run('lint:fresh', '-f memory'), 'fix:lint': () => run('lint', '--fix'), diff --git a/package.json b/package.json index 92f2951..b390a75 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "lerna": "^6.0.1", "madrun": "^10.0.0", "putout": "^34.0.0", + "redlint": "^3.9.0", "supertape": "^9.0.0", "typescript": "^5.1.6" }, diff --git a/packages/formatter-fail/.madrun.mjs b/packages/formatter-fail/.madrun.js similarity index 100% rename from packages/formatter-fail/.madrun.mjs rename to packages/formatter-fail/.madrun.js diff --git a/packages/formatter-json-lines/.madrun.mjs b/packages/formatter-json-lines/.madrun.js similarity index 100% rename from packages/formatter-json-lines/.madrun.mjs rename to packages/formatter-json-lines/.madrun.js diff --git a/packages/formatter-progress-bar/.madrun.mjs b/packages/formatter-progress-bar/.madrun.js similarity index 100% rename from packages/formatter-progress-bar/.madrun.mjs rename to packages/formatter-progress-bar/.madrun.js diff --git a/packages/formatter-short/.madrun.mjs b/packages/formatter-short/.madrun.js similarity index 100% rename from packages/formatter-short/.madrun.mjs rename to packages/formatter-short/.madrun.js diff --git a/packages/formatter-tap/.madrun.mjs b/packages/formatter-tap/.madrun.js similarity index 100% rename from packages/formatter-tap/.madrun.mjs rename to packages/formatter-tap/.madrun.js diff --git a/packages/formatter-time/.madrun.mjs b/packages/formatter-time/.madrun.js similarity index 100% rename from packages/formatter-time/.madrun.mjs rename to packages/formatter-time/.madrun.js