mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: cloudcmd: actions: lint ☘️
This commit is contained in:
parent
2ae6ad34fc
commit
79fb49479e
14 changed files with 18 additions and 17 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue