import/no-self-import
)Forbid a module from importing itself. This can sometimes happen during refactoring.
// foo.js
import foo from './foo';
const foo = require('./foo');
// index.js
import index from '.';
const index = require('.');
// foo.js
import bar from './bar';
const bar = require('./bar');