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 c00b7ad commit 76fc1d1Copy full SHA for 76fc1d1
.eslintplugin/index.ts
@@ -12,8 +12,7 @@ await Promise.all(
12
glob.sync(`${import.meta.dirname}/*.ts`)
13
.filter(file => !file.endsWith('index.ts') && !file.endsWith('utils.ts'))
14
.map(async file => {
15
- const normalizedPath = file.split(path.sep).join('/');
16
- rules[path.basename(file, '.ts')] = (await import(normalizedPath)).default;
+ rules[path.basename(file, '.ts')] = (await import(file)).default;
17
})
18
);
19
.eslintplugin/package.json
@@ -1,3 +1,5 @@
1
{
2
+ "name": "vscode-copilot-chat-eslint-plugin",
3
+ "private": true,
4
"type": "module"
5
}
0 commit comments