Skip to content

Commit

Permalink
docs: revert accidental changes in TS config files docs (eslint#19336)
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime authored Jan 11, 2025
1 parent 1c87b41 commit b04b84b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
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/"]
}) }}

### 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

0 comments on commit b04b84b

Please sign in to comment.