Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58182fe

Browse files
authored
docs(parser): clarify relative paths (typescript-eslint#1576)
1 parent 18c5877 commit 58182fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/parser/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Enable parsing JSX when `true`. More details can be found [here](https://www.typ
8181

8282
Default `undefined`.
8383

84-
This option allows you to provide a path to your project's `tsconfig.json`. **This setting is required if you want to use rules which require type information**. You may want to use this setting in tandem with the `tsconfigRootDir` option below.
84+
This option allows you to provide a path to your project's `tsconfig.json`. **This setting is required if you want to use rules which require type information**. Relative paths are interpreted relative to the current working directory if `tsconfigRootDir` is not set. If you intend on running ESLint from directories other than the project root, you should consider using `tsconfigRootDir`.
8585

8686
- Accepted values:
8787

0 commit comments

Comments
 (0)