I have a more complex eslint where some files are parsed by @typescript-eslint/parser (TS) while others are using @babel/eslint-parser (JS).
There is a default option in this package which sets the extensions to .js. This can be overwritten by -ext, but it doesn't then respect the override for other files.
I was able to test a fix in node_modules directly byby removing the -ext completely from the parser options.
Can we add an option so that -ext is not needed?
Running it with the configuration not containing the file types works fine for me.
I have a more complex eslint where some files are parsed by @typescript-eslint/parser (TS) while others are using @babel/eslint-parser (JS).
There is a default option in this package which sets the extensions to .js. This can be overwritten by -ext, but it doesn't then respect the override for other files.
I was able to test a fix in node_modules directly byby removing the -ext completely from the parser options.
Can we add an option so that -ext is not needed?
Running it with the
configuration
not containing the file types works fine for me.