-
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): use unicorn/recommended
rules
#2824
Conversation
7f97f4d
to
05c27c7
Compare
♻️ PR Preview 1f54001 has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
🎊 PR Preview 1f54001 has been successfully built and deployed to https://process-analytics-bpmn-visualization-js-doc_preview-pr-2824.surge.sh 🕐 Build time: 0.017s 🤖 By surge-preview |
622adb9
to
a282372
Compare
0cb4e27
to
ec2464d
Compare
24d6c9f
to
2493f2c
Compare
65449c5
to
fcea55a
Compare
b5ecaac
to
7024301
Compare
0166367
to
80b1e95
Compare
1e27991
to
5a7a916
Compare
unicorn/recommended
rules
5a7a916
to
e656df3
Compare
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.
✔️ I am OK to apply all selected rules
ℹ️ pending questions and stuff that I need to check locally to understand the changes (or require new ones)
❌ Some changes require more explanations and discussions, in particular when the introduce breaking changes
fa8f6a1
to
99703ee
Compare
99703ee
to
1f54001
Compare
Kudos, SonarCloud Quality Gate passed! |
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
Thanks for all your hard work applying all the unicorn rules ⭐
I disabled:
unicorn/prefer-keyboard-event-key
; becausekey
doesn't exist in the used ES version,unicorn/prefer-module
; because we don't want to change a working configuration,unicorn/prefer-string-replace-all
rule; because thereplaceAll
function is missing in the ES version used,unicorn/no-new-array
rule, because it conflicts withunicorn/new-for-builtins
(Use `new Array()` instead of `Array()`
),unicorn/no-null
rule; because we don't know the impact onmxGraph
code,unicorn/no-useless-undefined
rule, because the "undefined" value is useful where we use it and change some mxGraph code.ℹ️ See all the rules https://github.com/sindresorhus/eslint-plugin-unicorn/#rules
Covers #2742