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

Docs: FAQ request: should we run ESLint on output transpiled JS code? #6143

Closed
Assignees
JoshuaKGoldberg
Labels
accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updating
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

I was chatting a new user,@NazCodeland, and they asked: should they separately run ESLint on transpiled JS files if they're already running ESLint with TypeScript-ESLint on source TS files?

The answer isno. The source TS files have all the content of the output JS filesplus type annotations. There's no benefit to also linting the output JS files.

TypeScript-ESLint is "just" a plugin & set of extensions for ESLint. When running ESLint on JS and/or TS source files with TypeScript-ESLint, you're still getting the benefit of all the original ESLint rules.

Thanks for asking great questions@NazCodeland 😁 - we'll add this to the site.

Affected URL(s)

https://typescript-eslint.io/docs/linting/troubleshooting

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updating

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp