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 f61a6d4 commit 8cc5b7fCopy full SHA for 8cc5b7f
.changeset/tasty-eels-watch.md
@@ -0,0 +1,5 @@
1
+---
2
+"eslint-plugin-jsonc": minor
3
4
+
5
+Resolve other plugins relative to this one (as siblings)
lib/utils/get-auto-jsonc-rules-config/index.ts
@@ -47,6 +47,8 @@ function getConfigResolver(
47
"../../../conf/eslint-recommended.js",
48
),
49
eslintAllPath: require.resolve("../../../conf/eslint-all.js"),
50
+ // other plugins should be resolved as siblings to this one
51
+ resolvePluginsRelativeTo: resolve(__dirname, "../../../../../"),
52
});
53
return (configResolvers[cwd] = (filePath: string) => {
54
const absolutePath = resolve(cwd, filePath);
0 commit comments