Skip to content

Get rid of redundant "use strict" in ES modules #20

@wincent

Description

@wincent

Example of this in https://github.com/wincent/liferay-portal/pull/212:

You never need 'use strict' in an ES module (spec):

Module code is always strict mode code.

In other words, if you see an import or an export, you know you're in an ES module, and you can skip the pragma.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions