oxc
oxc copied to clipboard
feat(linter): Support `plugins` array in config
Support config.plugins
in .oxlintrc.json
.
{
"plugins": ["import", "react-hooks", "@typescript-eslint"],
// ...
}
Acceptance Criteria
- Should match behavior of eslint <= v8
- Listed plugins should be enabled. We don't need to support disabling plugins this way
-
typescript-eslint
should be handled flexibly. Both@typescript-eslint
andtypescript-eslint
should be acceptable values. - Derived JSON schema should provide suggestions for available plugins