Skip to content

Commit 278e13d

Browse files
committed
build: updated cli files for create
1 parent 2875f31 commit 278e13d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
import tsParticlesESLintConfig from "@tsparticles/eslint-config";
1+
import path from "path";
2+
import { fileURLToPath } from "url";
23
import { defineConfig } from "eslint/config";
4+
import tsParticlesESLintConfig from "@tsparticles/eslint-config";
5+
6+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
37

48
export default defineConfig([
59
tsParticlesESLintConfig,
10+
{
11+
languageOptions: {
12+
parserOptions: {
13+
project: "./tsconfig.json",
14+
tsconfigRootDir: __dirname,
15+
},
16+
},
17+
},
618
]);

0 commit comments

Comments
 (0)