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

Pin underscore.string and add to lints. #512

Merged
merged 1 commit into from Feb 13, 2017

Conversation

mythmon
Copy link
Contributor

@mythmon mythmon commented Feb 13, 2017

This should fix the CI issue we are seeing on master.

The main issue is that any packages imported in JS need to be installed somewhere above the file for the lints to accept the import line. On dev systems, this works because we have everything installed for the recipe-server, but the lint runner doesn't install the recipe-server's packages.

Adding underscore.string to the lint packages is a bandaid to fix this, but we should probably think of a better solution in the future. Maybe a better eslint rule so we don't have to install things. Maybe just install everything in each project as we lint.

Fixes #508

@mythmon mythmon merged commit 5712f7b into mozilla:master Feb 13, 2017
@mythmon mythmon deleted the underscore-stringify branch February 13, 2017 23:49
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.

Unable to resolve path to module 'underscore.string/titleize' import/no-unresolved
3 participants