mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor: Add rule no-constant-binary-expression (no-changelog) (#7670)
https://eslint.org/docs/latest/rules/no-constant-binary-expression
This commit is contained in:
@@ -59,7 +59,7 @@ function wrappedEmit(
|
||||
) {
|
||||
if (props.disabled) return;
|
||||
|
||||
emit((event as 'selected') || 'dragstart' || 'dragend', element, $e);
|
||||
emit(event, element, $e);
|
||||
}
|
||||
|
||||
function beforeEnter(el: HTMLElement) {
|
||||
|
||||
@@ -2641,6 +2641,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
if (
|
||||
// eslint-disable-next-line no-constant-binary-expression
|
||||
this.isReadOnlyRoute ??
|
||||
this.readOnlyEnv ??
|
||||
this.enterTimer ??
|
||||
@@ -2674,6 +2675,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
if (
|
||||
// eslint-disable-next-line no-constant-binary-expression
|
||||
this.isReadOnlyRoute ??
|
||||
this.readOnlyEnv ??
|
||||
!connection ??
|
||||
|
||||
Reference in New Issue
Block a user