eslint-nibble icon indicating copy to clipboard operation
eslint-nibble copied to clipboard

Not working with overrides and files

Open blewandowski-appfire opened this issue 1 year ago • 1 comments

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.

blewandowski-appfire avatar Aug 19 '24 12:08 blewandowski-appfire

I need to merge and release https://github.com/IanVS/eslint-nibble/pull/117 which I think will help. Maybe you can try out that branch and see if it meets your needs?

IanVS avatar Aug 19 '24 21:08 IanVS