🐛 Bug: Add options.bin to ESLint allowDefaultProject #1846
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: bug
Something isn't working :(
Bug Report Checklist
main
branch of the repository.Expected
If someone specifies a
bin
entry in theirpackage.json
that isn't insrc/
, then it will need to useparserOptions.projectService.allowDefaultProject
to be linted. It should be mentioned alongside"*.config.*s"
in the generatedeslint.config.js
Actual
Nothing does that right now:
create-typescript-app/src/steps/writing/creation/createESLintConfig.ts
Line 83 in aaf2d65
create-typescript-app/src/next/blocks/blockESLint.ts
Line 104 in b180d18
Additional Info
Prototyped in #1839.
💖
The text was updated successfully, but these errors were encountered: