Skip to content

Commit

Permalink
fix(linter): do not glob for invalid eslint config filenames in plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Jun 6, 2024
1 parent 00c1e39 commit ce9bf45
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/eslint/src/plugins/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ export interface EslintPluginOptions {
const DEFAULT_EXTENSIONS = ['ts', 'tsx', 'js', 'jsx', 'html', 'vue'];
const ESLINT_CONFIG_GLOB = combineGlobPatterns([
...ESLINT_CONFIG_FILENAMES.map((f) => `**/${f}`),
baseEsLintConfigFile,
baseEsLintFlatConfigFile,
]);

type EslintProjects = Awaited<ReturnType<typeof getProjectsUsingESLintConfig>>;
Expand Down

0 comments on commit ce9bf45

Please sign in to comment.