-
Notifications
You must be signed in to change notification settings - Fork 504
.eslintrc doesn't override defaults #514
Copy link
Copy link
Closed as not planned
Labels
scope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)solution: duplicateThis issue or pull request already existsThis issue or pull request already existssolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issue
Milestone
Description
First of all, thank you for the great tool!
Current Behavior
tsdx ignores .eslintrc.js or .eslintrc.json in project's root directory and uses default config when lint script is run.
At the moment it is possible to redefine default linting config only by specifying necessary settings in eslint key inside package.json. It is quite inconvenient.
Desired Behavior
Use .eslintrc.js or .eslintrc.json when it is present in project's root directory to redefine/replace default config.
Suggested Solution
Check presence of .eslintrc.js or .eslintrc.json in project's root directory and use its contents instead of default config returned by createEslintConfig.
Who does this impact? Who is this for?
All users wanting to customize linting settings.
Describe alternatives you've considered
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
scope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)solution: duplicateThis issue or pull request already existsThis issue or pull request already existssolution: workaround availableThere is a workaround available for this issueThere is a workaround available for this issue