Skip to content

use-test rule should not allow named imports #197

Description

@atabel

I think this shouldn't be allowed:

import {test} from 'ava';

Import default should be forced:

import test from 'ava';

Ava works fine if you name-import it but some other eslint-plugin-ava rules don't work properly if you name-import ava

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