mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
96252: Enforce tree-shakeable lodash imports in ESLint
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
"eslint-plugin-import",
|
||||
"eslint-plugin-jsdoc",
|
||||
"eslint-plugin-deprecation",
|
||||
"eslint-plugin-unused-imports"
|
||||
"eslint-plugin-unused-imports",
|
||||
"eslint-plugin-lodash"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
@@ -202,7 +203,12 @@
|
||||
"deprecation/deprecation": "warn",
|
||||
|
||||
"import/order": "off",
|
||||
"import/no-deprecated": "warn"
|
||||
"import/no-deprecated": "warn",
|
||||
|
||||
"lodash/import-scope": [
|
||||
"error",
|
||||
"method"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user