chore: lint

This commit is contained in:
coderaiser 2023-12-03 23:07:50 +02:00
parent 93aa7278b7
commit 75bf8a1275
14 changed files with 21 additions and 33 deletions

View file

@ -13,9 +13,8 @@ const store = fullstore(1);
const isDigit = (a) => /^\d+$/.test(a);
module.exports = (el, {key, keyCode}) => {
if (isDigit(key)) {
if (isDigit(key))
store(Number(key));
}
if (keyCode === DOWN || keyCode === J) {
const count = store();

View file

@ -14,9 +14,8 @@ module.exports = (userMenu) => {
continue;
}
if (str.startsWith('_')) {
if (str.startsWith('_'))
continue;
}
names.push(str);
const [key, name] = str.split(' - ');