Add TypeScript ESLint configs and lint scripts
Add a repository .editorconfig and a root eslint.config.ts to standardize formatting and linting. Migrate packages/webui ESLint config to TypeScript (eslint.config.ts) with project-specific rules and tsconfigRootDir handling, and remove the old JS config. Update package.json to run ESLint directly (add lint and lint:fix) and add required ESLint/dev dependencies; also add jiti to packages/webui/package.json. Include a small formatting tweak to tsconfig.base.json.
This commit is contained in:
1 parent
f21740a5d3
commit
aea2676c31
30 files changed
+173
-1057
No files matched your search
@@ -2,8 +2,6 @@ import { describe, it, expect } from 'vitest';
|
||||
import { PipeWatcher } from '../src/hook/pipe-watcher';
|
||||
import type { HookProcessBaseInfo } from '../src/hook/injector';
|
||||
|
||||
const flush = () => new Promise<void>(r => setImmediate(r));
|
||||
|
||||
function setupWatcher(initial: { processes: HookProcessBaseInfo[]; live: Set<number> }) {
|
||||
let processes = initial.processes;
|
||||
let live = initial.live;
|
||||
|
||||
Reference in new issue
Block a user