Skip to content

An ESLint formatter for Visual Studio Team Services and Team Foundation Server

License

Notifications You must be signed in to change notification settings

EngageSoftware/eslint-formatter-azure-devops

Repository files navigation

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

About

An ESLint formatter for Visual Studio Team Services and Team Foundation Server

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published