chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2024-07-03 12:01:49 +00:00
parent 2ae6ad34fc
commit 79fb49479e
14 changed files with 18 additions and 17 deletions

View file

@ -1,7 +1,7 @@
import {dirname} from 'node:path';
import {fileURLToPath} from 'node:url';
import test from 'supertape';
import fs from 'node:fs';
import test from 'supertape';
import {getColumns, isDev} from './columns.mjs';
const __filename = fileURLToPath(import.meta.url);

View file

@ -1,7 +1,7 @@
import Config from '../config.js';
import {once} from 'node:events';
import test from 'supertape';
import io from 'socket.io-client';
import Config from '../config.js';
import {connect} from '../../test/before.mjs';
const config = Config.createConfig();

View file

@ -3,9 +3,9 @@ import wraptile from 'wraptile';
import squad from 'squad';
import fullstore from 'fullstore';
import io from 'socket.io-client';
import _forEachKey from 'for-each-key';
import log from './log.mjs';
import env from '../env.js';
import _forEachKey from 'for-each-key';
const noop = () => {};
const forEachKey = currify(_forEachKey);

View file

@ -1,6 +1,6 @@
import process from 'node:process';
import test from 'supertape';
import {promisify} from 'node:util';
import test from 'supertape';
import tryToCatch from 'try-to-catch';
import {connect} from '../../test/before.mjs';
import {createConfigManager} from '../cloudcmd.mjs';

View file

@ -1,7 +1,7 @@
import {dirname} from 'node:path';
import {fileURLToPath} from 'node:url';
import test from 'supertape';
import fs from 'node:fs';
import test from 'supertape';
import {getThemes, isDev} from './theme.mjs';
const __filename = fileURLToPath(import.meta.url);

View file

@ -1,10 +1,10 @@
import {dirname, join} from 'node:path';
import {fileURLToPath} from 'node:url';
import {readFileSync} from 'node:fs';
import {test, stub} from 'supertape';
import serveOnce from 'serve-once';
import threadIt from 'thread-it';
import userMenu from './user-menu.mjs';
import {readFileSync} from 'node:fs';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);