Lombiq / NodeJs-Extensions

Utilities and extensions for Node.js, used in ASP.NET (Core) MVC and Orchard (Core) CMS development.
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

Lint XML (OSOE-716) #80

Open Piedone opened 11 months ago

Piedone commented 11 months ago

Similar most to perhaps Markdown linting, we could have linting for XML files, at least for formatting, and ideally more.

Adding this in this project because Prettier can check the formatting of XML files with this community plugin. Related: https://github.com/Lombiq/NodeJs-Extensions/issues/70 and https://github.com/Lombiq/NodeJs-Extensions/issues/11. It's not a full linter though.

This would be interesting foremost for csproj, props, and targets files, so there's more to it than just standard XML linting. Thus ideally, we'd have https://github.com/dotnet/msbuild/issues/1777.

Jira issue