Examples of correct code for this rule: import foo = require('foo'); require('foo'); import foo from 'foo';