https://github.com/engagesoftware/eslint-formatter-azure-devops
An ESLint formatter for Visual Studio Team Services and Team Foundation Server
https://github.com/engagesoftware/eslint-formatter-azure-devops
eslint vsts
Last synced: 2 months ago
JSON representation
An ESLint formatter for Visual Studio Team Services and Team Foundation Server
- Host: GitHub
- URL: https://github.com/engagesoftware/eslint-formatter-azure-devops
- Owner: EngageSoftware
- License: mit
- Created: 2016-08-08T21:56:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-27T14:46:34.000Z (7 months ago)
- Last Synced: 2025-08-02T02:05:22.301Z (2 months ago)
- Topics: eslint, vsts
- Language: JavaScript
- Size: 525 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# eslint-formatter-azure-devops [](https://github.com/EngageSoftware/eslint-formatter-azure-devops/actions) [](https://www.npmjs.com/package/eslint-formatter-azure-devops) [](/license)
> An [ESLint](http://eslint.org) formatter for [Azure DevOps](https://azure.microsoft.com/en-us/products/devops/) and [Azure DevOps Server](https://azure.microsoft.com/en-us/products/devops/server/)
You can reference the formatter [from the command line](https://eslint.org/docs/latest/user-guide/command-line-interface#-f---format),
via [the Node.js API](https://eslint.org/docs/latest/developer-guide/nodejs-api#-eslintloadformatternameorpath), or through your [task](https://www.npmjs.com/package/gulp-eslint-new) [runner](https://npmjs.org/package/grunt-eslint) [of](https://www.npmjs.org/package/broccoli-eslint) [choice](https://www.npmjs.com/package/eslint-webpack-plugin).### 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](https://engagesoftware.com)
## Examples
### ESLint CLI
Pass [the `--format` or `-f` flag](https://eslint.org/docs/latest/user-guide/command-line-interface#-f---format) to indicate the formatter via the ESLint CLI.
```pwsh
$> 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
```