/** * no-restricted-imports > patterns */ interface ImportPattern { group: string[]; message: string; } /** * Forbids deep relative imports. (e.g. `../../**`) * * This is to increase the readability and maintainability of the codebase. */ export const noDeepRelative: ImportPattern; /** * Forbids importing `lodash`. * * Useful in ESM projects to enforce the usage of `lodash-es` instead. */ export const noLodash: ImportPattern; /** * Forbids importing `lodash-es`. * * Useful in CJS projects to enforce the usage of `lodash` instead. */ export const noLodashEs: ImportPattern;