[feature request] lint file with extension other than *.js
See original GitHub issueCurrently the plugin only watch js files: documentSelector: ['javascript', 'javascriptreact'],
It would be nice if we can lint other file types, like *.html. eslint has many plugins that can support extracting javascript from other format, like html.
Atom’s eslint plugin, has this option:
Issue Analytics
- State:
- Created 8 years ago
- Reactions:10
- Comments:31 (8 by maintainers)
Top Results From Across the Web
Configuration Files - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >How to make VS Code treat a file extensions as a certain ...
In the first entry in the example above, .thor is the file ending, ruby is the language ID. The Files: Associations feature was...
Read more >JavaScript Extensions in Visual Studio Code
Easily integrate ESLint into your project. If ESLint isn't your favorite linter, choose among a variety of other linter extensions, including JSHint, JSCS,...
Read more >Content Types - ESBuild
Some file extensions already have a loader configured for them by default, ... Then esbuild will avoid using JavaScript features that are too...
Read more >25 Extensions That Turn Visual Studio Code Into An ... - P42
Let's go into the different features and see what's possible in VS Code with ... Visual Studio Code provides IntelliSense for JavaScript and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works like a charm for me (VS Code 1.7.2, Win10). Using in .vue files, as easy as adding .vue extension to eslint.validate (had eslint-plugin-html installed previously):
Thank you @dbaeumer ! 😄
Would love to have this in .vue files