You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: