Skip to content

Commit

Permalink
Add @eslint/js to eslint plugin enablers
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Sep 22, 2024
1 parent d674020 commit cbe6fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/knip/src/plugins/eslint/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type { ESLintConfig } from './types.js';

const title = 'ESLint';

const enablers = ['eslint'];
const enablers = ['eslint', '@eslint/js'];

const isEnabled: IsPluginEnabled = ({ dependencies, manifest, config }) =>
hasDependency(dependencies, enablers) ||
Expand Down

0 comments on commit cbe6fea

Please sign in to comment.