Skip to content

module-dependency-order: allow Identifiers #437

@jrencz

Description

@jrencz

For projects like https://github.com/AngularClass/NG6-starter where ng dependency names are imported with ES modules the names of ng modules are not string literals.

Non-ES modules example (works now):

angular.module('foo', [
  'bar',
  'baz',
]);

ES modules example (should work):

import bar from 'path/to/bar';
import baz from 'path/to/baz';

const fooModule = angular.module('foo', [
  bar,
  baz,
]);

export default homeModule.name;

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions