Skip to content

New eslint rules #925

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 7 commits into from
Sep 12, 2016
Merged

New eslint rules #925

merged 7 commits into from
Sep 12, 2016

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Sep 9, 2016

Adding a few eslint rules to the .eslintrc that we are already mostly respecting.

In this PR, I'm also hoping to enforce:

  • "no-shadow": [2, {"builtinGlobals": true}] - doc
  • "consistent-this": [2, "self"] - doc
  • "spaced-comment": [2, "always"] - doc

If anyone has an objection to ⏫ , please let me know!

@etpinard
Copy link
Contributor Author

Rules

  • "consistent-this": [2, "self"]
  • "no-shadow": [2, {"builtinGlobals": true}]

require a little more work to enforce than I want to do right now. Leaving this for future PR.

@etpinard etpinard merged commit 4b34eaa into master Sep 12, 2016
@etpinard etpinard deleted the eslint-new-rules branch September 12, 2016 15:24
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.

1 participant