Skip to content

Commit

Permalink
fix(eslint-plugin): update pluginName for rules
Browse files Browse the repository at this point in the history
  • Loading branch information
krzotki committed Nov 8, 2024
1 parent 1edb27c commit 8bbb0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const pkg = JSON.parse(
readFileSync(resolve(__dirname, '../package.json'), 'utf8')
);

const pluginName = pkg.name.replace('eslint-plugin-', '');
const pluginName = pkg.name.replace('/eslint-plugin', '');

const basicRules = {
...basic,
Expand Down

0 comments on commit 8bbb0a6

Please sign in to comment.