https://github.com/indexzero/git-lint
Lint gitconfig files for fun and profit
https://github.com/indexzero/git-lint
Last synced: about 1 year ago
JSON representation
Lint gitconfig files for fun and profit
- Host: GitHub
- URL: https://github.com/indexzero/git-lint
- Owner: indexzero
- License: mit
- Created: 2015-10-01T04:41:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-01T06:33:09.000Z (over 10 years ago)
- Last Synced: 2025-05-25T08:42:15.615Z (about 1 year ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-lint
Lint gitconfig files for fun and profit
## Usage
``` js
var gitLint = require('git-lint');
gitLint(function (err) {
if (err) {
console.dir(err);
return process.exit(1);
}
console.log('git-lint ok!');
});
```
## Rules
* `autocrlf`: Ensures that line endings are correctly set by `git` (source: [Dealing with line endings](https://help.github.com/articles/dealing-with-line-endings/))
##### AUTHOR: [Charlie Robbins](https://github.com/indexzero)
##### LICENSE: MIT