>From a cursory look at the code, it looks like the merges of the different 
parts of configs is handled here? 
https://github.com/eslint/eslint/blob/v6.4.0/lib/cli-engine/config-array/config-array.js#L238-L273

To my knowledge, the behavior entailed by that code is not explained in the 
documentation. I will file an issue in the GitHub repo related to this.

On Thursday, September 19, 2019 at 5:23:55 PM UTC-4, Geraldo Alvarez wrote:
>
> Does the documentation fully explain how configs are merged?
>
>
> https://eslint.org/docs/user-guide/configuring#extending-configuration-files 
> explains how rules are extended or overriden, but how about other 
> non-primitive config properties, for example, settings?
>
> For example, suppose I have the following config:
>
> "settings": { "import/extensions": [ ".js", ".jsx" ] }
>
> 1. Would it be possible for a config extending this config to clear all 
> settings? If so, how?
> 2. Would it be possible for a config extending this config to clear the 
> "import/extensions" settings? If so, how?
> 3. Would it be possible for a config extending this config to remove ".jsx" 
> from the array? If so, how?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/eslint/9fef6630-45f6-4106-ab28-b9b7b1036f26%40googlegroups.com.

Reply via email to