Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Add ESLint #990

Merged
merged 1 commit into from
Oct 17, 2015
Merged

Add ESLint #990

merged 1 commit into from
Oct 17, 2015

Conversation

ilanbiala
Copy link
Member

Fixes #763.

@codydaig @mleanos @lirantal made a new PR so I didn't have to work off master on my fork.

@ilanbiala ilanbiala added this to the 0.4.2 milestone Oct 15, 2015
@ilanbiala
Copy link
Member Author

@mleanos fixed Gulp test, it was actually an issue with me leaving out .eslint.

@ilanbiala ilanbiala closed this Oct 16, 2015
@ilanbiala ilanbiala reopened this Oct 16, 2015
@ilanbiala ilanbiala self-assigned this Oct 16, 2015
@@ -101,6 +101,10 @@ module.exports = function (grunt) {
}
}
},
eslint: {
options: {},
Copy link
Member

Choose a reason for hiding this comment

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

if there are no options that we're passing can we just not include it?

Copy link
Member Author

Choose a reason for hiding this comment

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

@lirantal we may want to add options once we finalize formatting, so I figured I would just leave it.

Copy link
Member

Choose a reason for hiding this comment

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

If it's redundant we can remove it until we add something there.

@lirantal
Copy link
Member

@ilanbiala what formatting does this eslint config compatible with? is that for the current project formatting until we decide on a final one?

@ilanbiala
Copy link
Member Author

@lirantal it's pretty close to the formatting we have right now. Obviously we can add any other specific stuff once we discuss it in the code formatting issue. This PR is meant more for just adding in support and we'll tweak all the rules later in a discussion.

@ilanbiala
Copy link
Member Author

@lirantal let me know if I can merge, I'll hold off just to make sure.

@codydaig
Copy link
Member

LGTM!

@mleanos
Copy link
Member

mleanos commented Oct 17, 2015

Tested, and LGTM.

I'm not completely clear on these eslint formatting settings, but based off of the fact that the only formatting changes that were required in the other PR were minor spacing issues, then I think it is line with our current coding styles.

Once we decide on any changes to our styles, we can adjust these settings. But for now, this is probably good to merge to get our initial ESLint support out.

@lirantal
Copy link
Member

@ilanbiala Let's go for it. It's better to have something, than nothing at all or wait for the final coding convention to finalize, which god only knows when will it happen.

ilanbiala added a commit that referenced this pull request Oct 17, 2015
@ilanbiala ilanbiala merged commit 1729db3 into meanjs:master Oct 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants