-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[eslint] prevent using constructor property params in initializers #119130
[eslint] prevent using constructor property params in initializers #119130
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
To update your PR or re-run it, just comment with: |
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.
Security plugin changes LGTM, thanks!
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.
app services changes lgtm
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.
Kibana QA changes look good
💔 Backport failed
Successful backport PRs will be merged automatically after passing CI. To backport manually run: |
…lastic#119130) # Conflicts: # packages/kbn-cli-dev-mode/src/log.ts # src/plugins/presentation_util/public/components/controls/control_group/embeddable/control_group_container_factory.ts
…119130) (#119223) Co-authored-by: Spencer <[email protected]>
In order to upgrade TS we need to stop referencing properties initialized by constructor arguments. This change is unfortunate but no longer supported by TS and this ESLint rule is designed to prevent us from adding more occurrences of this until we can get the TS upgrade complete.
Also fixes all existing violations manually by moving the initialization into the constructor.