eslint-plugin-git

0.1.3 • Public • Published

eslint-plugin-git

build status Coverage Status npm

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

Readme

Keywords

Package Sidebar

Install

npm i eslint-plugin-git

Weekly Downloads

3

Version

0.1.3

License

MIT

Last publish

Collaborators

  • benmosher