Last active
December 8, 2021 16:30
-
-
Save ah584d/251d673aac30982185f9b230dc3001ea to your computer and use it in GitHub Desktop.
eslint-rule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'no-restricted-imports': [ | |
| ERROR, | |
| { | |
| name: 'lodash', | |
| message: "Please use our ES6 module lodash import: ==> import { isNil } from '@lodash'", | |
| }, | |
| { | |
| name: 'lodash/chain', | |
| message: 'This function is not exported as an ES6 module, please use an alternative', | |
| }, | |
| ], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment