eslint: enable no-implicit-coercion
This commit is contained in:
parent
8ff1cd8317
commit
9c2beac7dd
4 changed files with 4 additions and 3 deletions
|
@ -121,7 +121,7 @@ export function setup(app) {
|
|||
return;
|
||||
}
|
||||
candidates = candidates.filter((binding) => {
|
||||
return !!binding.altKey === event.altKey && !!binding.ctrlKey === event.ctrlKey;
|
||||
return Boolean(binding.altKey) === event.altKey && Boolean(binding.ctrlKey) === event.ctrlKey;
|
||||
});
|
||||
if (candidates.length !== 1) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue