Skip to content

Commit 90cebbb

Browse files
authored
docs: replace most references to "project: true" with "projectService: true" (typescript-eslint#9835)
1 parent 7160687 commit 90cebbb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/getting-started/Typed_Linting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ module.exports = {
234234
plugins: ['@typescript-eslint'],
235235
parser: '@typescript-eslint/parser',
236236
parserOptions: {
237-
project: true,
237+
projectService: true,
238238
tsconfigRootDir: __dirname,
239239
},
240240
root: true,

docs/packages/TypeScript_ESLint.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default tseslint.config(
131131
languageOptions: {
132132
parser: tseslint.parser,
133133
parserOptions: {
134-
project: true,
134+
projectService: true,
135135
},
136136
},
137137
rules: {

docs/troubleshooting/faqs/General.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ import tseslint from 'typescript-eslint';
162162
export default tseslint.config(...tseslint.configs.recommendedTypeCheckedOnly, {
163163
languageOptions: {
164164
parserOptions: {
165-
project: true,
165+
projectService: true,
166166
tsconfigRootDir: import.meta.dirname,
167167
},
168168
},
@@ -176,7 +176,7 @@ export default tseslint.config(...tseslint.configs.recommendedTypeCheckedOnly, {
176176
module.exports = {
177177
extends: ['plugin:@typescript-eslint/recommended-type-checked-only'],
178178
parserOptions: {
179-
project: true,
179+
projectService: true,
180180
tsconfigRootDir: __dirname,
181181
},
182182
root: true,

docs/users/Shared_Configurations.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export default tseslint.config(
350350
{
351351
languageOptions: {
352352
parserOptions: {
353-
project: true,
353+
projectService: true,
354354
tsconfigDirName: import.meta.dirname,
355355
},
356356
},
@@ -375,7 +375,7 @@ module.exports = {
375375
],
376376
parser: '@typescript-eslint',
377377
parserOptions: {
378-
project: true,
378+
projectService: true,
379379
__tsconfigRootDir: __dirname,
380380
},
381381
root: true,

0 commit comments

Comments
 (0)