Skip to content

ESLint plugin with rules to remind you to use Git hygienically.

License

Notifications You must be signed in to change notification settings

benmosher/eslint-plugin-git

Repository files navigation

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

About

ESLint plugin with rules to remind you to use Git hygienically.

Resources

License

Stars

Watchers

Forks

Packages

No packages published