Skip to content

Commit

Permalink
chore: fix tools/new-rule.ts (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
baseballyama authored Jan 2, 2025
1 parent fb1001d commit d0e76a3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/eslint-plugin-svelte/tools/new-rule.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import path from 'path';
import fs from 'fs';
import cp from 'child_process';
import path from 'node:path';
import fs from 'node:fs';
import cp from 'node:child_process';
import url from 'node:url';
import { writeAndFormat } from './lib/write.js';

const __filename = url.fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const logger = console;

// main
Expand Down

0 comments on commit d0e76a3

Please sign in to comment.