-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Code cleanup based on ESLint warnings #14603
Conversation
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.
Looks good, happy to land independently.
Can you fixup the two issues that JSCS caught, and squash the commits?
@@ -2224,16 +2218,10 @@ moduleFor('Components test: curly components', class extends RenderingTest { | |||
} | |||
|
|||
['@test specifying classNames results in correct class'](assert) { | |||
let clickyThing; | |||
|
|||
this.registerComponent('some-clicky-thing', { | |||
ComponentClass: Component.extend({ | |||
tagName: 'button', | |||
classNames: ['foo', 'bar'], |
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.
Need to remove this trailing comma
@@ -2261,15 +2249,10 @@ moduleFor('Components test: curly components', class extends RenderingTest { | |||
} | |||
|
|||
['@test specifying custom concatenatedProperties avoids clobbering'](assert) { | |||
let clickyThing; | |||
this.registerComponent('some-clicky-thing', { | |||
ComponentClass: Component.extend({ | |||
concatenatedProperties: ['blahzz'], | |||
blahzz: ['blark', 'pory'], |
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.
trailing comma
@rwjblue done |
also fixed the failing JSHint test now... Travis will hopefully agree :) |
🍏 |
Still need to squash commmits though |
@rwjblue not a fan of squashing in general, but: done! |
Thanks! |
The contents in this PR were mostly extracted from #13549
/cc @rwjblue @stefanpenner