oxc icon indicating copy to clipboard operation
oxc copied to clipboard

feat(linter): Support `plugins` array in config

Open DonIsaac opened this issue 6 months ago • 0 comments

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 and typescript-eslint should be acceptable values.
  • Derived JSON schema should provide suggestions for available plugins

DonIsaac avatar Aug 21 '24 14:08 DonIsaac