We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef7af6d commit d1ef8ecCopy full SHA for d1ef8ec
1 file changed
eslint.config.mjs
@@ -20,16 +20,20 @@ import ember from 'eslint-plugin-ember/recommended';
20
import importPlugin from 'eslint-plugin-import';
21
import n from 'eslint-plugin-n';
22
import globals from 'globals';
23
+import { dirname } from 'node:path';
24
+import { fileURLToPath } from 'node:url';
25
import ts from 'typescript-eslint';
26
27
+const configDir = dirname(fileURLToPath(import.meta.url));
28
+
29
const esmParserOptions = {
30
ecmaFeatures: { modules: true },
31
ecmaVersion: 'latest',
32
};
33
34
const tsParserOptions = {
35
projectService: true,
- tsconfigRootDir: import.meta.dirname,
36
+ tsconfigRootDir: configDir,
37
38
39
export default defineConfig([
0 commit comments