Skip to content

Add ability to add 'tsx?' in test option for eslint rule #794

@a-menshchikov

Description

@a-menshchikov

Now there is the only one way to add 'tsx?' test option for eslint rule — by the following code:

.configureLoaderRule('eslint', rule => {
    rule.test = new RegExp(`\\.(${['jsx?', 'tsx?', 'vue'].join('|')})$`)
})

I think it should be an option similar to lintVue.

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