chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2023-08-07 15:09:19 +00:00
parent ba7133f2e6
commit 339560fab2
9 changed files with 18 additions and 10 deletions

View file

@ -285,7 +285,15 @@ test('current-file: parseHrefAttribute', (t) => {
t.end();
});
function getDOM({link = {}, getCurrentDirPath = stub(), getCurrentDirName = stub(), getByDataName = stub(), isContainClass = stub(), getCurrentType = stub(), getCurrentPath = stub()} = {}) {
function getDOM({
link = {},
getCurrentDirPath = stub(),
getCurrentDirName = stub(),
getByDataName = stub(),
isContainClass = stub(),
getCurrentType = stub(),
getCurrentPath = stub(),
} = {}) {
return {
getCurrentDirPath,
getCurrentDirName,

View file

@ -11,7 +11,7 @@ function EventsProto() {
const getEventOptions = (eventName) => {
if (eventName !== 'touchstart')
return false;
return {
passive: true,
};