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

Cleanup code / reenable eslint overwrite for src/legacy/core_plugins/kibana #54222

Conversation

kertal
Copy link
Member

@kertal kertal commented Jan 8, 2020

Summary

Fix eslint complains and re-enable eslint rules for src/legacy/core_plugins/kibana

Fixes #49547

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

- [ ] This was checked for cross-browser compatibility, including a check against IE11
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios
- [ ] This was checked for keyboard-only and screenreader accessibility

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@kertal kertal requested a review from a team January 8, 2020 07:51
@kertal kertal added :KibanaApp/fix-it-week v7.6.0 v8.0.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jan 8, 2020
@kertal kertal self-assigned this Jan 8, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@kertal kertal added the release_note:skip Skip the PR/issue when compiling release notes label Jan 8, 2020
Copy link
Contributor

@myasonik myasonik left a comment

Choose a reason for hiding this comment

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

Seems like a small failure - good to ship once build is green

id: selectedIndexPattern.id,
title: selectedIndexPattern.attributes!.title,
id: selectedId,
title: attributes ? attributes.title : '',
Copy link
Contributor

Choose a reason for hiding this comment

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

Just some code golf: ⛳️

Suggested change
title: attributes ? attributes.title : '',
title: attributes?.title || '',

Copy link
Member Author

Choose a reason for hiding this comment

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

Hole in one! 🏌 ! Many thx for the comment + review!

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kertal kertal merged commit 58f792c into elastic:master Jan 9, 2020
kertal added a commit to kertal/kibana that referenced this pull request Jan 9, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jan 9, 2020
* master:
  Remove eslint overwrite for src/legacy/core_plugins/kibana (elastic#54222)
kertal added a commit that referenced this pull request Jan 9, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jan 13, 2020
* master:
  Remove eslint overwrite for src/legacy/core_plugins/kibana (elastic#54222)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove temporary src/legacy/core_plugins/kibana eslint overrides
4 participants