Eslint: Add rule to disallow direct lodash imports

This commit is contained in:
Gustav Hansen 2023-03-17 13:45:45 +01:00
parent a9fb1f3130
commit 5c923d7e51

View File

@ -48,6 +48,10 @@ module.exports = {
message:
"'Stack' has been deprecated. Please import 'Flex' from '@strapi/design-system' instead.",
},
{
name: 'lodash',
message: 'Please use import [method] from lodash/[method]',
},
],
patterns: [
{