Skip to content
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

Eslintify panel #35

Merged
merged 7 commits into from Jun 13, 2018
Merged

Eslintify panel #35

merged 7 commits into from Jun 13, 2018

Conversation

nojvek
Copy link
Contributor

@nojvek nojvek commented Jun 11, 2018

No change in build dir. Mostly syntactic sugar.

Copy link
Member

@tdumitrescu tdumitrescu left a comment

Choose a reason for hiding this comment

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

🎉 Thanks for doing this!

@@ -1,3 +1,4 @@
/* global global */
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be eslint-env node?

@@ -1,3 +1,5 @@
/* eslint-env mocha */
/* eslint-disable no-unused-expressions */
Copy link
Member

Choose a reason for hiding this comment

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

What are the unused expressions it's complaining about?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

expect(domPatcher.el).to.be.ok;

it isn't ok with to.be.ok

@@ -1,8 +1,7 @@
import cuid from 'cuid';
import pick from 'lodash.pick';
Copy link
Member

Choose a reason for hiding this comment

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

Yikes! dead weight


export class AttrReflectionApp extends Component {
get config() {
return {
template: state => h('div', {class: {'attr-app': true}}, [
h('p', `Value of attribute wombats: ${this.getAttribute('wombats')}`),
// eslint-disable-next-line no-unused-vars
Copy link
Member

Choose a reason for hiding this comment

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

It's just a test fixture, might as well make it conform with template: () => h(...) (ditto for the other fixtures below)

@nojvek nojvek merged commit 0e15d37 into master Jun 13, 2018
@nojvek
Copy link
Contributor Author

nojvek commented Jun 13, 2018

Not creating a new release since there is no change in build.

@nojvek nojvek deleted the nojvek-lint branch June 13, 2018 05:44
@tdumitrescu
Copy link
Member

Did you actually check the build files against the current release? I don't see how they could have stayed the same, with the removal of the lodash import.

@nojvek
Copy link
Contributor Author

nojvek commented Jun 13, 2018

you are right. I was assuming a git status change would have shown a change in build. My bad, publishing a patched version

@nojvek
Copy link
Contributor Author

nojvek commented Jun 13, 2018

  • panel@1.3.2

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.

None yet

2 participants