hypermod-community icon indicating copy to clipboard operation
hypermod-community copied to clipboard

Lint using 🐊Putout

Open coderaiser opened this issue 3 years ago • 0 comments

Hi again! I think CodeshiftComunity does a great job of popularizing codemods, and I want to suggest you work results of a tool which simplifies writing, testing and using codemods.

🐊 Putout Report

image

Among the maxims on Lord Naoshige’s wall there was this one: ”Matters of’ great concern should be treated lightly.” Master lttei commented, “Matters of small concern should be treated seriously.”

(c) Yamamoto Tsunetomo "Hagakure"

Command used:

putout packages --fix

☝️ Any rule can be disabled.

Applied rules:

Current config for putout v25:

{
    "rules": {
        "remove-console": "off",
        "package-json/add-type": "off",
        "strict-mode": "off",
        "nodejs/convert-dirname-to-url": "off"
    },
    "ignore": [
        "tsconfig.json",
        "package.json",
        ".npmignore",
        ".gitignore"
    ]
}

Hope in integration in future :).

coderaiser avatar Apr 09 '22 18:04 coderaiser