Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.82 KB

readme.md

File metadata and controls

25 lines (15 loc) · 1.82 KB

eslint-formatter-azure-devops GitHub Actions npm npm

An ESLint formatter for Azure DevOps and Azure DevOps Server

You can reference the formatter from the command line, via the Node.js API, or through your task runner of choice.

Log Partially Complete

If you would like for the status of the task to be marked as partially succeeded if there are any warnings, set the environment variable ESLINT_AZDO_LOG_TASK_COMPLETE before running ESLint (as of version 1.2.0).

License

MIT © Engage Software

Examples

ESLint CLI

Pass the --format or -f flag to indicate the formatter via the ESLint CLI.

$> eslint --format eslint-formatter-azure-devops src/
##vso[task.logissue type=error;sourcepath=D:\code\eslint-example\src\script.js;linenumber=9;columnnumber=1;code=null;]Parsing error: 'return' outside of function