-
Notifications
You must be signed in to change notification settings - Fork 33
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
chore(eslint): add unicorn/prevent abbreviations
rule
#2865
chore(eslint): add unicorn/prevent abbreviations
rule
#2865
Conversation
♻️ PR Preview 9313b6f has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
♻️ PR Preview 9313b6f has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
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.
Most changes are OK and the usage of explicit names instead of abbreviations make things clearer.
❌ A release script must be updated
ℹ️ I have mentioned suggestions to go even further
readonly sourceReferenceId?: string, | ||
readonly targetReferenceId?: string, |
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.
thought: renaming these properties is valid, this in an internal class 😸
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.
thought: changes here are valid as these are internal classes
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.
LGTM, great improvements!
// only the ctrl key | ||
const isZoomWheelEvent = evt.ctrlKey && !evt.altKey && !evt.shiftKey && !evt.metaKey; | ||
const isZoomWheelEvent = event.ctrlKey && !event.altKey && !event.shiftKey && !event.metaKey; |
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.
praise: 👍🏿
7884540
to
9313b6f
Compare
Kudos, SonarCloud Quality Gate passed! |
To avoid to have to many changes by enabling
plugin:unicorn/recommended
, I choose to enable some rule one-by-one.Part of #2824
Covers #2742