Skip to content

Commit

Permalink
docs: add warnOnUnsupportedTypeScript warning message (#7172)
Browse files Browse the repository at this point in the history
* docs: add warnOnUnsupportedTypeScript warning message

* docs: swap console with plaintext for md code block language
  • Loading branch information
nevvada committed Jul 12, 2023
1 parent 2e30379 commit 21ccaab
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/packages/Parser.mdx
Expand Up @@ -231,7 +231,23 @@ Doing so ensures running ESLint from a directory other than the root will still

> Default `true`.
This option allows you to toggle the warning that the parser will give you if you use a version of TypeScript which is not explicitly supported
This option allows you to toggle the warning that the parser will give you if you use a version of TypeScript which is not explicitly supported. The warning message would look like this:

```plaintext
=============
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.1.0
YOUR TYPESCRIPT VERSION: 5.1.3
Please only submit bug reports when using the officially supported version.
=============
```

## Utilities

Expand Down

0 comments on commit 21ccaab

Please sign in to comment.