eslint-plugin-git
v0.1.3
Published
Git with sanity.
Downloads
4
Readme
eslint-plugin-git
Rules to encourage hygenic Git usage. Ideal for a pre-commit hook, for example.
Rules
no-untracked
: Report imports of modules that are not yet under source control.no-unstaged
: Report imports of modules that have unstaged modifications.
All rules respect .gitignore
and report on ES and CommonJS module references by default,
but may be tuned:
rules:
git/no-untracked: [2, { commonjs: false, amd: true, esmodule: true }]
License
MIT