mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 08:04:51 +00:00
Eslint: Add rule to disallow direct lodash imports
This commit is contained in:
parent
a9fb1f3130
commit
5c923d7e51
@ -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: [
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user