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

make lodash a dependency instead of devDependency #14

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

sebastian-fredriksson-bernholtz
Copy link
Contributor

It's being used in https://github.com/chiefmikey/eslint-plugin-disable-autofix/blob/main/src/index.ts#L7.

If this plugin is installed as a devDependency, lodash will be a transitive devDependency and not installed (unless lodash is installed by something else).

If that happens this plugin breaks eslint with "Error: Failed to load plugin 'disable-autofix' declared in '.eslintrc.yml': Cannot find module 'lodash'"

It's being used in https://github.com/chiefmikey/eslint-plugin-disable-autofix/blob/main/src/index.ts#L7.

If this plugin is installed as a devDependency, lodash will be a transitive devDependency and therefore not installed. If that happens this plugin breaks eslint.
@chiefmikey
Copy link
Owner

Thanks for catching that @sebastian-fredriksson-bernholtz 😅

@chiefmikey chiefmikey merged commit e6fbf7f into chiefmikey:main Oct 18, 2023
@chiefmikey
Copy link
Owner

Released in v4.0.6

@sebastian-fredriksson-bernholtz
Copy link
Contributor Author

Amazing! Thanks heaps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants