Skip to content

Commit

Permalink
chore: switch eslint.config.js to use bin/index.js, not bin/*.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 15, 2025
1 parent 1c19f26 commit 8e20dab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default tseslint.config(
languageOptions: {
parserOptions: {
projectService: {
allowDefaultProject: ["*.config.*s", "bin/*.js"],
allowDefaultProject: ["*.config.*s", "bin/index.js"],
},
tsconfigRootDir: import.meta.dirname,
},
Expand Down
2 changes: 1 addition & 1 deletion script/__snapshots__/migrate-test-e2e.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ exports[`expected file changes > eslint.config.js 1`] = `
languageOptions: {
parserOptions: {
- projectService: {
- allowDefaultProject: ["*.config.*s", "bin/*.js"],
- allowDefaultProject: ["*.config.*s", "bin/index.js"],
- },
+ projectService: { allowDefaultProject: ["*.config.*s"] },
tsconfigRootDir: import.meta.dirname,
Expand Down

0 comments on commit 8e20dab

Please sign in to comment.