Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Latest commit

 

History

History
17 lines (11 loc) · 306 Bytes

no-esm.md

File metadata and controls

17 lines (11 loc) · 306 Bytes

Report ESM import calls and export. (nebulas/no-esm)

Report import xxx and export xxx at the module scope.

Rule Details

Examples of incorrect code for this rule:

import xxx from 'crypto.js'

Examples of correct code for this rule:

const xxx = require('crypto.js')