{"id":42022,"library":"stylelint-formatter-azure-devops","title":"stylelint-formatter-azure-devops","description":"A custom formatter for stylelint that outputs results in Azure DevOps logging commands format, enabling file annotations and error reporting in pipeline build results. Currently at version 0.0.2 with no recent releases. Differentiates from other formatters by integrating directly with Azure DevOps annotation system.","status":"active","version":"0.0.2","language":"javascript","source_language":"en","source_url":"https://github.com/mdsharpe/stylelint-formatter-azure-devops","tags":["javascript"],"install":[{"cmd":"npm install stylelint-formatter-azure-devops","lang":"bash","label":"npm"},{"cmd":"yarn add stylelint-formatter-azure-devops","lang":"bash","label":"yarn"},{"cmd":"pnpm add stylelint-formatter-azure-devops","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required for formatter to work with stylelint","package":"stylelint","optional":false}],"imports":[{"note":"Package is ESM-only. Use require only if project supports ESM.","wrong":"const formatter = require('stylelint-formatter-azure-devops');","symbol":"default","correct":"import formatter from 'stylelint-formatter-azure-devops';"},{"note":"Used with stylelint CLI via --custom-formatter flag.","symbol":"stylelint formatter path","correct":"stylelint --custom-formatter 'node_modules/stylelint-formatter-azure-devops'"}],"quickstart":{"code":"import stylelint from 'stylelint';\nimport azureFormatter from 'stylelint-formatter-azure-devops';\n\nstylelint.lint({\n  files: 'src/**/*.css',\n  formatter: azureFormatter,\n}).then(result => {\n  console.log(result.output);\n}).catch(err => {\n  console.error(err);\n});","lang":"javascript","description":"Shows programmatic usage of stylelint with the Azure DevOps formatter, running lint on CSS files and outputting formatted results."},"warnings":[{"fix":"Use import syntax or set type: 'module' in package.json. For CommonJS, use dynamic import().","message":"Package is ESM-only; requires Node.js >=12 or module configuration.","severity":"breaking","affected_versions":">=0.0.1"},{"fix":"Ensure CI pipeline interprets Azure DevOps logging commands. Combine with other formatters if text output is needed.","message":"Formatter only outputs annotation commands; does not produce standard stylelint output format.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Verify with stylelint version in use. Update package if needed.","message":"Stylelint custom formatter API may change; check compatibility with stylelint >=14.","severity":"deprecated","affected_versions":">=0.0.1"},{"fix":"Only use with stylelint.lint() or stylelint CLI.","message":"Formatter expects stylelint results object; does not work with standalone plugins or custom lint runners.","severity":"gotcha","affected_versions":">=0.0.1"}],"env_vars":null,"search_vec":"'0.0.2':33 'annot':22,48 'azur':4,15,46 'build':28 'command':18 'current':30 'custom':7 'devop':5,16,47 'differenti':38 'direct':44 'enabl':20 'error':24 'file':21 'format':19 'formatt':3,8,41 'integr':43 'javascript':50 'log':17 'output':12 'pipelin':27 'recent':36 'releas':37 'report':25 'result':13,29 'stylelint':2,10 'stylelint-formatter-azure-devop':1 'system':49 'version':32","created_at":"2026-06-04T18:55:14.451190+00:00","updated_at":"2026-06-04T18:55:14.451190+00:00","problems":[{"fix":"Use import statement or dynamic import().","cause":"Using CommonJS require() with ESM-only package.","error":"Error [ERR_REQUIRE_ESM]: require() of ES Module not supported"},{"fix":"Run npm install stylelint-formatter-azure-devops --save-dev","cause":"Package not installed or not in node_modules path.","error":"Cannot find module 'stylelint-formatter-azure-devops'"}],"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/mdsharpe/stylelint-formatter-azure-devops#readme","github":"https://github.com/mdsharpe/stylelint-formatter-azure-devops","docs":null,"changelog":null,"pypi":null,"npm":"stylelint-formatter-azure-devops","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}}