You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run eslint . --ext .ts from the root folder to validate all subrojects at once
Suggested Solution
Currently in source code if this library function initMappers invokes only once at the very start. To fix this bug this function should be invoked again if new set of options is passed (this situation will happen if there is several eslintrc configs with different import/resolver settings.
Workarounds
There is two possible workarounds, which can be used till this bug will be fixed:
Run eslint for each project separately
Use single .eslintrc file at the root folder which will contain references to tsconfig.json files in each project.
The text was updated successfully, but these errors were encountered:
Bug
Current Behavior
If this library used to lint several projects at once - only first project paths are taken into account (and they are also exposed to other projects)
Desired Behavior
Each project paths should be resolved according to this project tsconfig.json file.
Requirements to reproduce this bug
eslint . --ext .ts
from the root folder to validate all subrojects at onceSuggested Solution
Currently in source code if this library function
initMappers
invokes only once at the very start. To fix this bug this function should be invoked again if new set of options is passed (this situation will happen if there is several eslintrc configs with different import/resolver settings.Workarounds
There is two possible workarounds, which can be used till this bug will be fixed:
The text was updated successfully, but these errors were encountered: