Skip to content

Revisit or remove xoToEslintConfig #875

@fregante

Description

@fregante

What's the use case for this utility now that plugins have been moved to the ESLint-compatible config?

  • direct XO cli users don't need it
  • ESLint users should use eslint-config-xo
  • XO cli users that want IDE integration should not be able to further customize XO inline just for the IDE

Suggested changes

Since only the last use case makes sense (AFAIK), customization should be removed from this helper:

  • Remove function parameter
  • Change usage to export {default} from 'xo/eslint-adapter'

The adapter should then just read XO's config from its native config locations (xo.config.ts, package.json)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions