Skip to content

Commit 64cfbb4

Browse files
committed
ESLint: Fix no-redeclare warnings
Not sure where this is suddenly coming from, but we can just use different variable names instead to fix it.
1 parent c2b17d8 commit 64cfbb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eslint.config.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import globals from 'globals';
1010
import path from 'node:path';
1111
import { fileURLToPath } from 'node:url';
1212

13-
const __filename = fileURLToPath(import.meta.url);
14-
const __dirname = path.dirname(__filename);
13+
const filename = fileURLToPath(import.meta.url);
14+
const dirname = path.dirname(filename);
1515
const compat = new FlatCompat({
16-
baseDirectory: __dirname,
16+
baseDirectory: dirname,
1717
recommendedConfig: js.configs.recommended,
1818
allConfig: js.configs.all,
1919
});

0 commit comments

Comments
 (0)