diff --git a/README.md b/README.md index 0e9843df2..ac94a1a7f 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,17 @@ module.exports = { See also . +::: warning ❗ Attention + +The TypeScript parser uses a singleton internally and it will only use the +options given to it when it was first initialized. If trying to change the +options for a different file or override, the parser will simply ignore the new +options (which may result in an error). See +[typescript-eslint/typescript-eslint#6778](https://github.com/typescript-eslint/typescript-eslint/issues/6778) +for some context. + +::: + #### settings.svelte You can change the behavior of this plugin with some settings. diff --git a/docs/user-guide.md b/docs/user-guide.md index 3f83cb32e..36c3215af 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -137,6 +137,17 @@ module.exports = { See also . +::: warning ❗ Attention + +The TypeScript parser uses a singleton internally and it will only use the +options given to it when it was first initialized. If trying to change the +options for a different file or override, the parser will simply ignore the new +options (which may result in an error). See +[typescript-eslint/typescript-eslint#6778](https://github.com/typescript-eslint/typescript-eslint/issues/6778) +for some context. + +::: + #### settings.svelte You can change the behavior of this plugin with some settings.