Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: Project service doesn't infer compilerOptions for files not included in a tsconfig.json #8206

Closed
Assignees
JoshuaKGoldberg
Labels
accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: typescript-estreeIssues related to @typescript-eslint/typescript-estree
Milestone
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I havesearched for related issues and found none that matched my issue.
  • I haveread the FAQ and my problem is not listed.

Issue Description

Moving#8030 (reply in thread) into a standalone issue: users are going to want to be able to lint.eslintrc.cjs files without including them in thetsconfig.jsoncompilerOptions.allow andinclude. But the project service as-is provides a "blank slate" set of default compiler options when a file isn't included in a loadedtsconfig.json.

Proposal: if a file is included inallowDefaultProjectForFiles (added in#7752) and isn't given compiler options from a loaded TSConfig, instead give it the compiler options for the nearesttsconfig.json?

Reproduction Repository Link

https://github.com/JoshuaKGoldberg/repros/tree/ts-eslint-project-service-not-included

Repro Steps

  1. clone the repo
  2. npm install
  3. npm lint

Versions

packageversion
@typescript-eslint/parser6.18.0
@typescript-eslint/typescript-estree6.18.0
TypeScript5.3.3

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: typescript-estreeIssues related to @typescript-eslint/typescript-estree

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp