$ npm install @putout/plugin-gitignore
🐊Putout plugin helps with 🐊Putout plugins development.
npm i @putout/plugin-gitignore -D
By default, all files enebled, if you want disable some of them use dismiss
property:
{
"rules": {
"gitignore": ["on", {
"dismiss": [
"*.swp",
"coverage"
]
}]
}
}
Adds .putoutcache
into .gitignore.
node_modules
+.putoutcache
Adds *.swp
into .gitignore.
+*.swp
node_modules
.idea
FilesAdds *.swp
into .gitignore.
+.idea
node_modules
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE