{"id":42031,"library":"stylelint-formatter-relative-junit","title":"stylelint-formatter-relative-junit","description":"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.","status":"maintenance","version":"0.0.3","language":"javascript","source_language":"en","source_url":"https://github.com/elao/stylelint-formatter-relative-junit","tags":["javascript","stylelint","formatter","stylelint formatter"],"install":[{"cmd":"npm install stylelint-formatter-relative-junit","lang":"bash","label":"npm"},{"cmd":"yarn add stylelint-formatter-relative-junit","lang":"bash","label":"yarn"},{"cmd":"pnpm add stylelint-formatter-relative-junit","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency - the formatter is designed to be used with stylelint","package":"stylelint","optional":false}],"imports":[{"note":"This is a custom formatter, not a built-in. Must use --custom-formatter with the path.","wrong":"stylelint --formatter 'junit'","symbol":"stylelint-formatter-relative-junit","correct":"stylelint --custom-formatter './node_modules/stylelint-formatter-relative-junit'"}],"quickstart":{"code":"npm install --save-dev stylelint stylelint-formatter-relative-junit\n# Then run:\nstylelint 'src/**/*.css' --custom-formatter './node_modules/stylelint-formatter-relative-junit' > report.xml","lang":"javascript","description":"Shows how to install and use the formatter to generate a JUnit XML report with relative paths."},"warnings":[{"fix":"Use --custom-formatter instead of --formatter when invoking stylelint.","message":"Requires stylelint's --custom-formatter flag, not --formatter","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Consider forking or using stylelint-junit-formatter and post-processing paths to be relative.","message":"Not actively maintained - last release was in 2019","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.0.3':29 'absolut':26 'activ':58 'altern':62 'box':75 'ci/cd':43 'current':21,32 'develop':59 'directori':23 'e.g':45 'featur':70 'file':16 'fork':7 'formatt':3,11,78,80 'instead':24 'javascript':76 'jenkin':46 'junit':5,10,49 'lightweight':40 'out-of-the-box':71 'output':15 'packag':36 'path':17,27,54,69 'pipelin':44 'provid':64 'relat':4,18,53,68 'relative-path':67 'releas':34 'report':51 'requir':48 'simpl':39 'stabl':33 'stylelint':2,13,77,79 'stylelint-formatter-relative-junit':1 'util':41 'version':28 'work':22 'xml':50","created_at":"2026-06-04T18:55:17.236076+00:00","updated_at":"2026-06-04T18:55:17.236076+00:00","problems":[{"fix":"Verify the module is installed and provide the correct path, e.g., './node_modules/stylelint-formatter-relative-junit'","cause":"Missing or incorrect path in --custom-formatter","error":"Error: Cannot find module 'stylelint-formatter-relative-junit'"},{"fix":"Use stylelint v13.x or upgrade to a maintained formatter","cause":"stylelint changed formatter API in v14 and this package was not updated","error":"The formatter is not compatible with stylelint v14+"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/elao/stylelint-formatter-relative-junit#readme","github":"https://github.com/elao/stylelint-formatter-relative-junit","docs":null,"changelog":null,"pypi":null,"npm":"stylelint-formatter-relative-junit","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}