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) {
|
||||
|
||||
Reference in New Issue
Block a user