Is your feature request related to a problem? Please describe.
When a Salesforce project is scaffolded you get 2 different eslintrc.json files, one inside the aura directory and another in lwc, each with its specific configuration.
I see no documented way to execute Code Analyzer just once that scans both directories each respecting their own configuration therefore needing to execute it one per directory indicating its specific configuration file.
Describe the solution you'd like
A way to either map configuration file with it's corresponding path when calling Code Analyzer so it supports calling multiple of them, or if is actually possible to have a single .eslintrc.json file that handles the mapping of config by path, that solution to be documented as well with the Salesforce specific structure in mind (and probably make it the default for project scaffolding too, although I understand that's a whole different team)
Describe alternatives you've considered
Executing Code Analyzer multiple times, ultimately I would like to even call it just once for all engines.
Is your feature request related to a problem? Please describe. When a Salesforce project is scaffolded you get 2 different
eslintrc.json
files, one inside theaura
directory and another inlwc
, each with its specific configuration.I see no documented way to execute Code Analyzer just once that scans both directories each respecting their own configuration therefore needing to execute it one per directory indicating its specific configuration file.
Describe the solution you'd like A way to either map configuration file with it's corresponding path when calling Code Analyzer so it supports calling multiple of them, or if is actually possible to have a single
.eslintrc.json
file that handles the mapping of config by path, that solution to be documented as well with the Salesforce specific structure in mind (and probably make it the default for project scaffolding too, although I understand that's a whole different team)Describe alternatives you've considered Executing Code Analyzer multiple times, ultimately I would like to even call it just once for all engines.