10000 docs: update links to eslint docs for specifying globals / environmen… · patternleaf/typescript-eslint@552b9a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 552b9a6

Browse files
authored
docs: update links to eslint docs for specifying globals / environments (typescript-eslint#3026)
1 parent 17d0cd2 commit 552b9a6

File tree

1 file changed

+1
-1
lines changed
  • docs/getting-started/linting

1 file changed

+1
-1
lines changed

docs/getting-started/linting/FAQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Instead, our tooling exists to **_augment_** TypeScript's built in checks with l
187187

188188
The `no-undef` lint rule does not use TypeScript to determine the global variables that exist - instead, it relies upon ESLint's configuration.
189189

190-
You can [manually define the set of allowed `globals` in your ESLint config](https://eslint.org/docs/user-guide/configuring#specifying-globals), and/or you can use one of the [pre-defined environment (`env`) configurations](https://eslint.org/docs/user-guide/configuring#specifying-environments).
190+
You can [manually define the set of allowed `globals` in your ESLint config](https://eslint.org/docs/user-guide/configuring/language-options#specifying-globals), and/or you can use one of the [pre-defined environment (`env`) configurations](https://eslint.org/docs/user-guide/configuring/language-options#specifying-environments).
191191

192192
As of our v4.0.0 release, this also applies to types. If you use global types from a 3rd party package (i.e. anything from an `@types` package), then you will have to configure ESLint appropriately to define these global types. For example; the `JSX` namespace from `@types/react` is a global 3rd party type that you must define in your ESLint config.
193193

0 commit comments

Comments
 (0)
0