Skip to content

Enable import/named on JS-only projects #576

@fregante

Description

@fregante

xo/config/plugins.cjs

Lines 203 to 205 in f81e933

// Disabled as it doesn't work with TypeScript.
// This issue and some others: https://github.com/benmosher/eslint-plugin-import/issues/1341
// 'import/named': 'error',

I think import/named isn't useful on TS projects because TS already verifies the imports. Can this rule be enabled on JS files only?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions