Skip to content

Latest commit

 

History

History

plugin-gitignore

@putout/plugin-gitignore NPM version

🐊Putout plugin helps with 🐊Putout plugins development.

Install

npm i @putout/plugin-gitignore -D

Rules

By default, all files enebled, if you want disable some of them use dismiss property:

{
    "rules": {
        "gitignore": ["on", {
            "dismiss": [
                "*.swp",
                "coverage"
            ]
        }]
    }
}

Add Putoutcache

Adds .putoutcache into .gitignore.

node_modules
+.putoutcache

Add Vim Files

Adds *.swp into .gitignore.

+*.swp
node_modules

Add .idea Files

Adds *.swp into .gitignore.

+.idea
node_modules

License

MIT