Skip to content

Update linters to conform to ShakaCode standards #112

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

Merged
merged 1 commit into from
Nov 23, 2015
Merged

Conversation

robwise
Copy link
Contributor

@robwise robwise commented Nov 21, 2015

This change is in parallel with the change made for the webpack
tutorial.

See shakacode/react-webpack-rails-tutorial#159

globals:
__DEBUG_SERVER_ERRORS__: true
__SERVER_ERRORS__: true
google: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove lines 12-14

@robwise
Copy link
Contributor Author

robwise commented Nov 23, 2015

@dylangrafmyre I'm pretty sure we're failing the linters in CI because of needing to update our eslint dependencies. I pass with the latest version of eslint (v1.10.1) locally, but the docker container is shrinkwrapped to v1.6.0. How do I go about updating this?

@dylangrafmyre
Copy link
Contributor

@robwise just need to update the package.json and npm shrinkwrap followed by a push to origin(shakacode/docker-lint). This will trigger a new build of the container image on Docker Hub. And when CI runs it will pull down the latest build. I can help with this if needed?

@robwise
Copy link
Contributor Author

robwise commented Nov 23, 2015

Thanks @dylangrafmyre for helping me on this! We had to update the linter dependencies in the docker image. This should be good to go pending a final review.

@justin808 justin808 added this to the 1.1 milestone Nov 23, 2015
@justin808
Copy link
Member

Looks good. Let's merge.

@justin808
Copy link
Member

@robwise Did you confirm that the generated code passes these linter changes?

@robwise
Copy link
Contributor Author

robwise commented Nov 23, 2015

@justin808 affirmative, good to go

This change is in parallel with the change made for the webpack
tutorial.

See shakacode/react-webpack-rails-tutorial#159

- Fix generator linters templating logic for scss task

- Remove unnecessary lodash import in generated loggerMiddleware

- Exclude dummy apps from linting

- Remove unnecessary 'refs' attribute in generated component

- Add dummy apps to eslintignore
robwise added a commit that referenced this pull request Nov 23, 2015
Update linters to conform to ShakaCode standards
@robwise robwise merged commit 48e117d into master Nov 23, 2015
@robwise robwise deleted the update-linters branch November 23, 2015 23:17
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.

3 participants