Skip to content

Commit

Permalink
feat: add monorepo support to import/no-extraneous-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Harjot1Singh committed May 23, 2024
1 parent 88c21e0 commit 2b778c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ module.exports = {
mp4: 'always',
},
],
'import/no-extraneous-dependencies': [
'error',
{
packageDir: [ '.', '../..' ],
},
],
// Preferable, but the author should know best for the situation
'import/prefer-default-export': 'off',
// jsx-a11y is not valid for our use-cases
Expand Down

0 comments on commit 2b778c7

Please sign in to comment.