-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Improvement/add linter #44
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
Conversation
* add npm package * add npm pretest script
* add .jshintrc * address semicolon errors * ignore 'already defined' errors
@@ -0,0 +1,14 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried using eslint? We're moving towards using it at Facebook and would be awesome if this project would as well
Ill switch it over eslint! |
…ut into improvement/add-linter
* modify .eslintrc w/ globals & rules * use judgement in deciding bet proj style & eslint recommendation * make
This was quite a messy change adding eslint and addressing the errors so I will fully understand if you decide to reject it T.T. The main comment has been updated. |
I'm in vacation until the end of the week. Will check when I get back home, sorry for the wait :( |
@@ -348,7 +352,7 @@ var layoutTestUtils = (function() { | |||
|
|||
var texts = { | |||
small: 'small', | |||
big: 'loooooooooong with space', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Facebook convention is to always put trailing comma fyi :)
So good, lots of great stuff here :) Thanks for doing this! |
Changed:
Feedback is much appreciated!