https://github.com/ratson/gitignore-rules
Rules of .gitignore from github/gitignore
https://github.com/ratson/gitignore-rules
Last synced: 10 months ago
JSON representation
Rules of .gitignore from github/gitignore
- Host: GitHub
- URL: https://github.com/ratson/gitignore-rules
- Owner: ratson
- Created: 2017-07-18T15:22:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-05T16:47:31.000Z (almost 9 years ago)
- Last Synced: 2025-03-04T08:23:06.061Z (over 1 year ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitignore-rules
Rules of .gitignore from github/gitignore
## Installation
```
npm install gitignore-rules --save
```
## Usage
```js
const rules = require('gitignore-rules')
console.log(rules['*.log'])
/*
[ { group: 'Android', comment: 'Log Files' },
{ group: 'ArchLinuxPackages' },
{ group: 'Java', comment: 'Log file' },
{ group: 'Lilypond' },
{ group: 'Node', comment: 'Logs' },
{ group: 'Opa' },
{ group: 'Python', comment: 'Django stuff:' },
{ group: 'Scala' },
{ group: 'Stata', comment: 'Stata dataset and output files' },
{ group: 'SugarCRM',
comment: 'Logs files can safely be ignored.' },
{ group: 'SynopsysVCS',
comment: 'used to write all messages from simulation: -l ' },
{ group: 'TeX',
comment: 'Core latex/pdflatex auxiliary files:' },
{ group: 'VisualStudio', comment: '.NET Core' },
{ group: 'WordPress' },
{ group: 'Yeoman' } ]
*/
```