Options:
-h Show the usage patterns.
--version Prints the version number.
-f --force Shows all the lines with problems.
-t --tracked Lints only tracked files.
--json Prints the result as a json string. Useful to use it in
conjunction with other tools.
--last-commit Checks the last checked-out commit. This is mostly useful
when used as: git checkout ; git lint --last-commit.
Do we have any option to run only only on staged files(for commit)?
Current git-lint has following options
Options: -h Show the usage patterns. --version Prints the version number. -f --force Shows all the lines with problems. -t --tracked Lints only tracked files. --json Prints the result as a json string. Useful to use it in conjunction with other tools. --last-commit Checks the last checked-out commit. This is mostly useful when used as: git checkout; git lint --last-commit.
Do we have any option to run only only on staged files(for commit)?