Visualstudio-docs: How to use editorconfig analyzing during VSTS (Azure Devops) build

Created on 8 Jan 2019  Â·  2Comments  Â·  Source: MicrosoftDocs/visualstudio-docs

Can we have a task in a VSTS (Azure DevOps) build that uses the editorconfig to analyze the code? This would be very helpful for pull requests for example.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

product-question

Most helpful comment

If you're running a build, you can invoke https://github.com/jedmao/eclint through Node/NPM to check files for consistency and/or fix the files.

All 2 comments

@WizX20 I don't think that is currently possible. See the note block at the end of this section: https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options?view=vs-2017#coding-consistency.

If you're running a build, you can invoke https://github.com/jedmao/eclint through Node/NPM to check files for consistency and/or fix the files.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nitinjs picture nitinjs  Â·  3Comments

michael-hawker picture michael-hawker  Â·  4Comments

realbart picture realbart  Â·  3Comments

JeepNL picture JeepNL  Â·  3Comments

patrikhuber picture patrikhuber  Â·  4Comments