A fork of the junit formatter for stylelint that outputs file paths relative to the current working directory instead of absolute paths. Version 0.0.3 is the current stable release. This package is a simple, lightweight utility for CI/CD pipelines (e.g., Jenkins) that require JUnit XML reports with relative paths. It has no active development and no alternatives that provide the same relative-path feature out-of-the-box.
npm install stylelint-formatter-relative-junitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install and use the formatter to generate a JUnit XML report with relative paths.
Use --custom-formatter instead of --formatter when invoking stylelint.
Consider forking or using stylelint-junit-formatter and post-processing paths to be relative.
Verify the module is installed and provide the correct path, e.g., './node_modules/stylelint-formatter-relative-junit'
Use stylelint v13.x or upgrade to a maintained formatter