From 7331fad047228fdf7c9bb188ee7c1c7be849e3e5 Mon Sep 17 00:00:00 2001 From: Eduard Aksamitov Date: Mon, 16 Mar 2026 23:23:03 +0300 Subject: [PATCH 1/3] fix: plugin name to match naming convention --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 7860cb5..f9faa16 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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: { From 3e2a669f2df0e27899b4561f3a78c5e4c188f972 Mon Sep 17 00:00:00 2001 From: Eduard Aksamitov Date: Tue, 17 Mar 2026 00:35:42 +0300 Subject: [PATCH 2/3] chore: fix tests --- src/test/oxlint-integration.test.ts | 4 ++-- test/fixtures/oxlint/oxlint.config.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/oxlint-integration.test.ts b/src/test/oxlint-integration.test.ts index bff97e3..40ebda8 100644 --- a/src/test/oxlint-integration.test.ts +++ b/src/test/oxlint-integration.test.ts @@ -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'); } }); @@ -58,6 +58,6 @@ describe('oxlint integration', () => { cwd: process.cwd() }); - expect(output).not.toContain('e18e/prefer-includes'); + expect(output).not.toContain('@e18e/prefer-includes'); }); }); diff --git a/test/fixtures/oxlint/oxlint.config.json b/test/fixtures/oxlint/oxlint.config.json index 22ee1a7..b1914fd 100644 --- a/test/fixtures/oxlint/oxlint.config.json +++ b/test/fixtures/oxlint/oxlint.config.json @@ -1,6 +1,6 @@ { "jsPlugins": [""], "rules": { - "e18e/prefer-includes": "error" + "@e18e/prefer-includes": "error" } } From 5bedca9de213afa06430b973b42a8b9935b8e87f Mon Sep 17 00:00:00 2001 From: Eduard Aksamitov Date: Tue, 17 Mar 2026 00:35:51 +0300 Subject: [PATCH 3/3] chore: update docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4940e17..eff8533 100644 --- a/README.md +++ b/README.md @@ -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" } } ```