Skip to content

Catch arrow functions for modules #149

Open
@bmish

Description

@bmish

Should the qunit/no-arrow-tests rule also catch modules with arrow functions? Or should we have a new separate rule no-arrow-modules?

Bad:

module('my module', (hooks) => {
  // ...
});

Good:

module('my module', function(hooks) {
  // ...
});

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