Skip to content

Commit

Permalink
Add lodash-es and @carbon/icons-react to disallowed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
brandones committed Aug 25, 2021
1 parent 2cd4784 commit 8c8341f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc
Expand Up @@ -10,9 +10,17 @@
"name": "lodash",
"message": "Import specific methods from `lodash-es`. e.g. `import map from 'lodash-es/map'`"
},
{
"name": "lodash-es",
"message": "Import specific methods from `lodash-es`. e.g. `import map from 'lodash-es/map'`"
},
{
"name": "carbon-components-react",
"message": "Import from packages within `carbon-components-react/es/components/`. e.g. `import Toggle from 'carbon-components-react/es/components/Toggle'`"
},
{
"name": "@carbon/icons-react",
"message": "Import from packages within `@carbon/icons-react/es`. e.g. `import ChevronUp16 from '@carbon/icons-react/es/chevron--up/16'`"
}
]
}
Expand Down

0 comments on commit 8c8341f

Please sign in to comment.