-
Notifications
You must be signed in to change notification settings - Fork 505
Closed
Labels
kind: featureNew feature or requestNew feature or request
Description
Current Behavior
tsdx supports eslint-plugin-react outof the box. If React is not used this warning pops up:
Warning: React version was set to "detect" in eslint-plugin-react settings, but the "react" package is not installed. Assuming latest React version for linting.
Desired Behavior
Opt-out of eslint plugins that are not in used. For example, I'm using tsdx to build a logger plugin for a specific library. I don't need .eslintrc extendingreact-app, because my work is only node related.
Suggested Solution
My suggestion is to remove any dedicated eslint plugin except the ones that are typescript and prettier related. User would manually add additional rules to the project if needed, for example eslint-plugin-vue, and configure it in the local .eslintrc. This way tsdx remains decoupled from any specific library.
Who does this impact? Who is this for?
TypeScript users that develop plugins, libraries for NodeJS.
arthurdenner, semoal and vladimyr
Metadata
Metadata
Assignees
Labels
kind: featureNew feature or requestNew feature or request