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 Lint errors in examples and eslint path #144

Merged
merged 2 commits into from
Jul 24, 2016
Merged

Conversation

goldhand
Copy link
Collaborator

Fix lint errors in examples and change eslint path. Related to work done in #143

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes

What is the current behavior? (You can also link to an open issue here)
$ npm run lint will lint ./lib
eslint lib - lib does not exist

What is the new behavior?
eslint . - lint current

Does this PR introduce a breaking change?

  • Yes
  • No

@@ -25,7 +25,7 @@
},
"scripts": {
"pretest": "npm run lint && npm run beautify-lint",
"lint": "eslint lib",
"lint": "eslint .",
Copy link
Contributor

@joshwiens joshwiens Jul 24, 2016

Choose a reason for hiding this comment

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

This should really be explicit "lint": "eslint example index.js mocha-env-loader.js",

Targeting the project root opens up the possibility of linting something we don't want to. I say that recognizing this is knit picky and you are fixing my copy paste fail (thanks).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@d3viant0ne ok Ill adjust it, I was actually thinking the same thing 😄

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