Infer `eslint.validate` from plugins configuration.
See original GitHub issuedemo repo: https://github.com/clock157/bug-vscode-eslint-typescript
run command can found error but not report in vscode.
set setting.json
not work too.
+"eslint.options": {
+ "extensions": [".ts", ".tsx"]
+},
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10 (5 by maintainers)
Top Results From Across the Web
VS Code ESLint extension - Visual Studio Marketplace
eslint.validate - an array of language identifiers specifying the files for which validation is to be enforced. This is an old legacy setting...
Read more >Working with Plugins - 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 >A list of awesome ESLint plugins, configs, etc. - Gitee
Adjunct - A reasonable collection of plugins to use alongside your main ESLint configuration. Ash-Nazg - One config to rule them all!
Read more >How to add typescript-eslint rules to eslint - Stack Overflow
We are able to configure built in rules like no-console but @typescript-eslint/no-inferrable-types is not accepting our overrides. We even tried ...
Read more >Advanced linting with Create React App, Typescript, and ESLint
json configuration file. But there are many, many more useful rules available in ESLint and ESLint Typescript plugins. It should be mentioned ...
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
The same. My config:
The problem here is that eslint (the npm module) out of the box only validates JS files. Everything else comes in as a configuration. What I can look into is whether I am able to infer this from the plugins section.