Skip to content

docs: revert accidental changes in TS config files docs #19336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/use/command-line-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ For example:

{{ npx_tabs ({
package: "eslint",
args: ["--config", "~/personal-eslintrc.js", "\\", "--resolve-plugins-relative-to", "/usr/local/lib/"]
args: ["--config", "~/personal-eslintrc.js", "--resolve-plugins-relative-to", "/usr/local/lib/"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A trailing backslash is not useful for commands that are contained within a single line.

}) }}

### Specify Rules and Plugins
Expand Down Expand Up @@ -384,7 +384,7 @@ To ignore rules in `.eslintrc` configuration files and only run rules specified

{{ npx_tabs ({
package: "eslint",
args: ["--rule", "\'quotes: [error, double]\'", "-no-eslintrc"],
args: ["--rule", "\'quotes: [error, double]\'", "--no-eslintrc"],
comment: "Only apply rule from the command line"
}) }}

Expand Down
13 changes: 0 additions & 13 deletions docs/src/use/configure/configuration-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,19 +521,6 @@ For more information about using feature flags, see [Feature Flags](../../flags/

## TypeScript Configuration Files

::: warning
This feature is currently experimental and may change in future versions.
:::

You need to enable this feature through the `unstable_ts_config` feature flag:

{{ npx_tabs({
package: "eslint",
args: ["--flag", "unstable_ts_config"]
}) }}

For more information about using feature flags, see [Feature Flags](../../flags/).

For Deno and Bun, TypeScript configuration files are natively supported; for Node.js, you must install the optional dev dependency [`jiti`](https://github.com/unjs/jiti) in version 2.0.0 or later in your project (this dependency is not automatically installed by ESLint):

{{ npm_tabs({
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy