Skip to content

Commit dd0df73

Browse files
Remove outdated docs regarding vscode eslint extension and type… (#8307)
Co-authored-by: Ian Schmitz <[email protected]>
1 parent ca9c61e commit dd0df73

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

docusaurus/docs/setting-up-your-editor.md

-15
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,6 @@ Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plug
2222

2323
They are not required for linting. You should see the linter output right in your terminal as well as the browser console. If you prefer the lint results to appear right in your editor, please make sure you install an ESLint plugin/extension.
2424

25-
If you're using TypeScript and Visual Studio Code, the [ESLint Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint#overview) currently [doesn't have TypeScript support enabled by default](https://github.com/Microsoft/vscode-eslint/issues/609). To enable TypeScript support in the ESLint extension, add the following to your project's Visual Studio Code settings file, located at `.vscode/settings.json` (you can create this file if it doesn't already exist):
26-
27-
```json
28-
{
29-
"eslint.validate": [
30-
"javascript",
31-
"javascriptreact",
32-
"typescript",
33-
"typescriptreact"
34-
]
35-
}
36-
```
37-
38-
Now your editor should report the linting warnings.
39-
4025
Note that even if you customise your ESLint config, these changes will **only affect the editor integration**. They won’t affect the terminal and in-browser lint output. This is because Create React App intentionally provides a minimal set of rules that find common mistakes.
4126

4227
If you want to enforce a coding style for your project, consider using [Prettier](https://github.com/jlongster/prettier) instead of ESLint style rules.

0 commit comments

Comments
 (0)