This repository has been archived by the owner on Nov 10, 2022. It is now read-only.
Docs don't make it clear whether rules in overrides merge or replace the main rules object #504
Labels
documentation
Relates to ESLint's documentation
The Configuration based on glob patterns section only shows a single rule
"quotes"
being set and then overridden, and (AFAICT) it's not possible to tell from this example or the accompanying text if therules
foroverrides
are merged into the baserules
object, or if it replaces it completely. Same forenv
and other objects.I know the main config merged over any extended shared configs, so I'm guessing it's the same logic for
overrides
merging into the main config, but it would be good to state this clearly and/or update the example so it's more obvious.The text was updated successfully, but these errors were encountered: