disallow modules (es/no-modules)

This rule reports ES2015 modules as errors.

Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-modules: error */ import x1 from "x1" import {x2} from "x2" import * as x3 from "x3" export default function() {} export { x4 } from "x4" export { x5 }
Now loading...

📚 References

Last Updated: 8/27/2019, 11:29:02 AM