When running eslint with --config, why does it take the default config file and MERGE it? #14131
Replies: 1 comment 1 reply
-
Hi @Industrial! This is the expected behavior for the
You can additionally use the --no-eslintrc option to disable
There are use cases where the |
Beta Was this translation helpful? Give feedback.
-
Hi.
I have created a configuration file
.eslint-yml.json
:I did this because I am using
"parser": "@typescript-eslint/parser"
and this yml plugin will not work with it.When I call
eslint -c .eslint-yml.json
when I have a.eslint.json
file, it will MERGE the two files and cause an error.Why does it look at the
.eslint.json
file at all?Beta Was this translation helpful? Give feedback.
All reactions