We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With version 2.23.0 eslint fails due to peerDependency imports in our code:
2.23.0
peerDependency
1:1 error '{PACKAGE_NAME}' should be listed in the project's dependencies. Run 'npm i -S {PACKAGE_NAME}' to add it import/no-extraneous-dependencies
Our package is scoped (@org-name/package-name), not sure if it makes any difference.
@org-name/package-name
Version 2.22.1 works fine.
2.22.1
Our config looks like this:
'import/no-extraneous-dependencies': [ 'error', { devDependencies: [ // ], peerDependencies: true, packageDir: './', }, ],
The text was updated successfully, but these errors were encountered:
cc @paztis / #1696, can you take a look at this?
Sorry, something went wrong.
no-extraneous-dependencies
@types/
I think #2097 will resolve it
da8d584
Successfully merging a pull request may close this issue.
With version
2.23.0
eslint fails due topeerDependency
imports in our code:1:1 error '{PACKAGE_NAME}' should be listed in the project's dependencies. Run 'npm i -S {PACKAGE_NAME}' to add it import/no-extraneous-dependencies
Our package is scoped (
@org-name/package-name
), not sure if it makes any difference.Version
2.22.1
works fine.Our config looks like this:
The text was updated successfully, but these errors were encountered: