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

Skip to content

Commit eefc578

Browse files
authored
fix(typescript-estree): fix typo in FAQ link (typescript-eslint#6346)
fix(create-program): Fix typo in FAQ link
1 parent 9e4595e commit eefc578

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/typescript-estree/src/create-program/createProjectProgram.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function createProjectProgram(
105105
`- Change ESLint's list of included files to not include this file`,
106106
`- Change ${describedSpecifiers} to include this file`,
107107
`- Create a new TSConfig that includes this file and include it in your parserOptions.project`,
108-
`See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file`,
108+
`See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file`,
109109
);
110110
}
111111

packages/typescript-estree/tests/lib/__snapshots__/parse.test.ts.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ However, that TSConfig does not include this file. Either:
2323
- Change ESLint's list of included files to not include this file
2424
- Change that TSConfig to include this file
2525
- Create a new TSConfig that includes this file and include it in your parserOptions.project
26-
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
26+
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
2727
`;
2828
2929
exports[`parseAndGenerateServices invalid file error messages "parserOptions.extraFileExtensions" is non-empty the extension matches the file isn't included 1`] = `
@@ -32,7 +32,7 @@ However, that TSConfig does not include this file. Either:
3232
- Change ESLint's list of included files to not include this file
3333
- Change that TSConfig to include this file
3434
- Create a new TSConfig that includes this file and include it in your parserOptions.project
35-
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
35+
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
3636
`;
3737
3838
exports[`parseAndGenerateServices invalid file error messages project includes errors for not included files 1`] = `
@@ -41,7 +41,7 @@ However, that TSConfig does not include this file. Either:
4141
- Change ESLint's list of included files to not include this file
4242
- Change that TSConfig to include this file
4343
- Create a new TSConfig that includes this file and include it in your parserOptions.project
44-
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
44+
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
4545
`;
4646
4747
exports[`parseAndGenerateServices invalid file error messages project includes errors for not included files 2`] = `
@@ -50,7 +50,7 @@ However, that TSConfig does not include this file. Either:
5050
- Change ESLint's list of included files to not include this file
5151
- Change that TSConfig to include this file
5252
- Create a new TSConfig that includes this file and include it in your parserOptions.project
53-
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
53+
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
5454
`;
5555
5656
exports[`parseAndGenerateServices invalid file error messages project includes errors for not included files 3`] = `
@@ -59,7 +59,7 @@ However, that TSConfig does not include this file. Either:
5959
- Change ESLint's list of included files to not include this file
6060
- Change that TSConfig to include this file
6161
- Create a new TSConfig that includes this file and include it in your parserOptions.project
62-
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
62+
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
6363
`;
6464
6565
exports[`parseAndGenerateServices invalid file error messages project includes errors for not included files 4`] = `
@@ -68,7 +68,7 @@ However, that TSConfig does not include this file. Either:
6868
- Change ESLint's list of included files to not include this file
6969
- Change that TSConfig to include this file
7070
- Create a new TSConfig that includes this file and include it in your parserOptions.project
71-
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
71+
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
7272
`;
7373
7474
exports[`parseAndGenerateServices invalid project error messages throws when non of multiple projects include the file 1`] = `
@@ -79,7 +79,7 @@ However, none of those TSConfigs include this file. Either:
7979
- Change ESLint's list of included files to not include this file
8080
- Change one of those TSConfigs to include this file
8181
- Create a new TSConfig that includes this file and include it in your parserOptions.project
82-
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting##i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
82+
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"
8383
`;
8484
8585
exports[`parseAndGenerateServices isolated parsing should parse .js file - with JSX content - parserOptions.jsx = false 1`] = `

0 commit comments

Comments
 (0)