Skip to content
New issue

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

fix for bug in rules about adding dependencies #19

Closed
inveterateliterate opened this issue Jul 23, 2020 · 0 comments · Fixed by #23
Closed

fix for bug in rules about adding dependencies #19

inveterateliterate opened this issue Jul 23, 2020 · 0 comments · Fixed by #23
Milestone

Comments

@inveterateliterate
Copy link

getting this error in the console:

warning 'lp-hoc' should be listed in the project's dependencies. Run 'npm i -S lp-hoc' to add it

fix is to skip rule:

module.exports = {
  extends: ['@launchpadlab/eslint-config/react-rails'],
  rules: {
    'import/no-extraneous-dependencies': 'off',
  },
  settings: {
    'import/resolver': {
      'webpack': {
        'config': __dirname + '/config/webpack.config.development.js',
      }
    }
  }
}
@dpikt dpikt added this to the v2 milestone Sep 25, 2020
@chawes13 chawes13 mentioned this issue Apr 4, 2023
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants