Skip to content

Fixes Issue #1: Re-enables JS linting #2

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 2 commits into from
May 31, 2016

Conversation

kanhirun
Copy link
Contributor

Summary

  1. Fixes Turn JSHint back on for src files #1
  2. Replaces JSHint with ESLint to use the same tool as crosslead-platform

(I suggest that we extract the linting configuration to make it available organization-wide. You can use git submodules for this. This way, there won't be duplication of knowledge, and avoids the adhocity trap.)

@@ -62,12 +62,23 @@ gulp.task('watch', function () {
/**
* Validate source JavaScript
*/
gulp.task('jshint', function () {
gulp.task('lint', function () {
Copy link
Contributor Author

@kanhirun kanhirun May 31, 2016

Choose a reason for hiding this comment

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

When linting, the user shouldn't know what linter they are using. Instead, they should just invoke the command, and resolve conflicts.

@bsouthga
Copy link
Contributor

Looks good to me!

@bsouthga bsouthga merged commit 2a2a031 into master May 31, 2016
@kanhirun kanhirun deleted the reenable_jslint_on_src_files branch May 31, 2016 17:18
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