$ cnpm install @putout/plugin-gitignore
A
.gitignorefile specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected.(c) git-scm.com
????Putout plugin helps with .gitignore.
npm i @putout/plugin-gitignore -D
{
"rules": {
"gitignore/add": ["on", {
"dismiss": [
"*.swp",
"coverage",
"*.lock",
"*.log"
]
}],
"gitignore/sort": "on"
}
}
Adds .putoutcache, *.swp, .idea:
node_modules
+.putoutcache
+*.swp
+.idea
node_modules
*.swp
yarn-error.log
yarn.lock
.idea
.DS_Store
deno.lock
coverage
.filesystem.json
.idea
.filesystem.json
.DS_Store
*.swp
yarn-error.log
yarn.lock
deno.lock
node_modules
coverage# sort
MIT
Copyright 2013 - present © cnpmjs.org | Home |