Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ If you're using oxlint, you can enable the e18e plugin by adding it to your `.ox
{
"jsPlugins": ["@e18e/eslint-plugin"],
"rules": {
"e18e/prefer-includes": "error"
"@e18e/prefer-includes": "error"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import {rules as dependRules} from 'eslint-plugin-depend';

const plugin: ESLint.Plugin = {
meta: {
name: 'e18e',
namespace: 'e18e'
name: '@e18e/eslint-plugin',
namespace: '@e18e'
},
configs: {},
rules: {
Expand Down
4 changes: 2 additions & 2 deletions src/test/oxlint-integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('oxlint integration', () => {
} catch (error) {
const errorObj = error as {stdout: string; stderr: string};
const output = errorObj.stdout + errorObj.stderr;
expect(output).toContain('e18e(prefer-includes)');
expect(output).toContain('@e18e(prefer-includes)');
expect(output).toContain('invalid.js');
}
});
Expand All @@ -58,6 +58,6 @@ describe('oxlint integration', () => {
cwd: process.cwd()
});

expect(output).not.toContain('e18e/prefer-includes');
expect(output).not.toContain('@e18e/prefer-includes');
});
});
2 changes: 1 addition & 1 deletion test/fixtures/oxlint/oxlint.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"jsPlugins": ["<PLUGIN_PATH>"],
"rules": {
"e18e/prefer-includes": "error"
"@e18e/prefer-includes": "error"
}
}