warnings
config.
Prohibit importing a default export by another name.
Given:
// api/get-users.js
export default async function getUsers() {}
...this would be valid:
import getUsers from './api/get-users.js'
...and the following would be reported:
// Caution: `get-users.js` has a default export `getUsers`.
// This imports `getUsers` as `findUsers`.
// Check if you meant to write `import getUsers from './api/get-users'` instead.
import findUsers from './get-users'