eslint checkstyle formatter with project-relative paths
Prints eslint errors in Checkstyle format with paths
relative to the directory in which eslint is executed. This allows for
tooling to work across disparate filesystems (e.g. CI server and GitHub).Note this is a copy and tweak job from the built-in "checkstyle" eslint formatter.
To Use
eslint --format ./node_modules/eslint-formatter-checkstyle-relative-paths
License
This formatter is MIT licensed. The
ESLint License is included with this repository as well.