How to lint .cshtml files?

Viewed 408

Using ESLint, it's easy to lint *.js files. Using a plugin like html or script-tag, it's also simple to lint JavaScript code inside tags in *.html files.

However, when it comes to script tags inside *.cshtml files, I'm stuck.

Does anyone know how to lint *.cshtml files or recommend a different linting tool for that?

0 Answers
Related