Skip to content

Commit

Permalink
chore(eslint): restricted import lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Jan 25, 2025
1 parent b859d90 commit ceebb49
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,16 @@ module.exports = {
'func-names': 'off',
'consistent-return': 'off',
'default-case': 'off',
'no-restricted-imports': [
'error',
{
paths: [
{
name: 'lodash',
message: 'Please use lodash-es instead.',
},
],
},
],
},
};

0 comments on commit ceebb49

Please sign in to comment.