We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a50c562 commit aca6884Copy full SHA for aca6884
.circleci/config.yml
@@ -6,7 +6,7 @@ orbs:
6
executors:
7
linux-node:
8
docker:
9
- - image: cimg/node:18.20.3
+ - image: cimg/node:20.15.1
10
linux-python:
11
12
- image: cimg/python:3.10.7
eslint.config.mjs
@@ -1,13 +1,9 @@
1
import globals from 'globals';
2
-import path from 'node:path';
3
-import { fileURLToPath } from 'node:url';
4
import js from '@eslint/js';
5
import { FlatCompat } from '@eslint/eslintrc';
-const __filename = fileURLToPath(import.meta.url);
-const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
- baseDirectory: __dirname,
+ baseDirectory: import.meta.dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
13
});
0 commit comments