When I format with eslint these are added to my eslint.config.js file.
However, the file still needs to exist somewhere for this to work.
Can we add a mode that only uses the eslint.options as the config file if it doesn't exist? i.e. If the config file can not be found, make an empty one and then proceed using an empty file in combination with "eslint.options".
At the moment I know this works as I have put a dummy config file in my C: directory which is completely empty, but if I remove this file eslint refuses to format.
Hello,
In my VSCode settings.json I have the following:
When I format with eslint these are added to my
eslint.config.js
file.However, the file still needs to exist somewhere for this to work.
Can we add a mode that only uses the
eslint.options
as the config file if it doesn't exist? i.e. If the config file can not be found, make an empty one and then proceed using an empty file in combination with "eslint.options".At the moment I know this works as I have put a dummy config file in my C: directory which is completely empty, but if I remove this file eslint refuses to format.
Thanks, John