You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* work in progress
* wip
* fix stuff
* lintfixy stuff
* why not work
* yay, passing tests!
* undo extraneous change
* point to the new config locations
* ignore dep from website build
* website mocking take 2
* unused var
* typo
Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
* up eslint
* knip ignore
* alfa
* Revert "up eslint"
This reverts commit 7d36b57.
* fix up resolution stuff
* is it this
* Revert "is it this"
This reverts commit 97d1346.
* uhhh
* fixup
* fixup
---------
Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
Copy file name to clipboardExpand all lines: docs/users/Shared_Configurations.mdx
+13-13
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ module.exports = {
144
144
</TabItem>
145
145
</Tabs>
146
146
147
-
See [`configs/recommended.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended.ts) for the exact contents of this config.
147
+
See [`configs/recommended.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/recommended.ts) for the exact contents of this config.
148
148
149
149
### `recommended-type-checked`
150
150
@@ -173,7 +173,7 @@ module.exports = {
173
173
</TabItem>
174
174
</Tabs>
175
175
176
-
See [`configs/recommended-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended-type-checked.ts) for the exact contents of this config.
176
+
See [`configs/recommended-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/recommended-type-checked.ts) for the exact contents of this config.
177
177
178
178
### `strict`
179
179
@@ -203,7 +203,7 @@ module.exports = {
203
203
</Tabs>
204
204
205
205
Some rules also enabled in `recommended` default to more strict settings in this configuration.
206
-
See [`configs/strict.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/strict.ts) for the exact contents of this config.
206
+
See [`configs/strict.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/strict.ts) for the exact contents of this config.
207
207
208
208
:::tip
209
209
We recommend a TypeScript project extend from `plugin:@typescript-eslint/strict` only if a nontrivial percentage of its developers are highly proficient in TypeScript.
@@ -242,7 +242,7 @@ module.exports = {
242
242
</Tabs>
243
243
244
244
Some rules also enabled in `recommended-type-checked` default to more strict settings in this configuration.
245
-
See [`configs/strict-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/strict-type-checked.ts) for the exact contents of this config.
245
+
See [`configs/strict-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/strict-type-checked.ts) for the exact contents of this config.
246
246
247
247
:::tip
248
248
We recommend a TypeScript project extend from `plugin:@typescript-eslint/strict-type-checked` only if a nontrivial percentage of its developers are highly proficient in TypeScript.
@@ -283,7 +283,7 @@ module.exports = {
283
283
Note that `stylistic` does not replace `recommended` or `strict`.
284
284
`stylistic` adds additional rules.
285
285
286
-
See [`configs/stylistic.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/stylistic.ts) for the exact contents of this config.
286
+
See [`configs/stylistic.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/stylistic.ts) for the exact contents of this config.
287
287
288
288
### `stylistic-type-checked`
289
289
@@ -315,7 +315,7 @@ module.exports = {
315
315
Note that `stylistic-type-checked` does not replace `recommended-type-checked` or `strict-type-checked`.
316
316
`stylistic-type-checked` adds additional rules.
317
317
318
-
See [`configs/stylistic-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/stylistic-type-checked.ts) for the exact contents of this config.
318
+
See [`configs/stylistic-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/stylistic-type-checked.ts) for the exact contents of this config.
319
319
320
320
## Other Configurations
321
321
@@ -326,7 +326,7 @@ typescript-eslint includes a few utility configurations.
326
326
Enables each the rules provided as a part of typescript-eslint.
327
327
Note that many rules are not applicable in all codebases, or are meant to be configured.
328
328
329
-
See [`configs/all.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/all.ts) for the exact contents of this config.
329
+
See [`configs/all.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/all.ts) for the exact contents of this config.
330
330
331
331
:::warning
332
332
We do not recommend TypeScript projects extend from `plugin:@typescript-eslint/all`.
@@ -345,14 +345,14 @@ We don't recommend using this directly; instead, extend from an earlier recommen
345
345
346
346
This config is automatically included if you use any of the recommended configurations.
347
347
348
-
See [`configs/base.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/base.ts) for the exact contents of this config.
348
+
See [`configs/base.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/base.ts) for the exact contents of this config.
349
349
350
350
### `disable-type-checked`
351
351
352
352
A utility ruleset that will disable type-aware linting and all type-aware rules available in our project.
353
353
This config is useful if you'd like to have your base config concerned with type-aware linting, and then conditionally use [overrides](https://eslint.org/docs/latest/use/configure/configuration-files#configuration-based-on-glob-patterns) to disable type-aware linting on specific subsets of your codebase.
354
354
355
-
See [`configs/disable-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/disable-type-checked.ts) for the exact contents of this config.
355
+
See [`configs/disable-type-checked.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/disable-type-checked.ts) for the exact contents of this config.
356
356
357
357
:::info
358
358
If you use type-aware rules from other plugins, you will need to manually disable these rules or use a premade config they provide to disable them.
@@ -449,7 +449,7 @@ module.exports = {
449
449
450
450
This config is automatically included if you use any of the recommended configurations.
451
451
452
-
See [`configs/eslint-recommended.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslint-recommended.ts) for the exact contents of this config.
452
+
See [`configs/eslint-recommended.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/eslint-recommended.ts) for the exact contents of this config.
453
453
454
454
### `recommended-type-checked-only`
455
455
@@ -462,7 +462,7 @@ module.exports = {
462
462
};
463
463
```
464
464
465
-
See [`configs/recommended-type-checked-only.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended-type-checked-only.ts) for the exact contents of this config.
465
+
See [`configs/recommended-type-checked-only.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/recommended-type-checked-only.ts) for the exact contents of this config.
466
466
467
467
### `strict-type-checked-only`
468
468
@@ -475,7 +475,7 @@ module.exports = {
475
475
};
476
476
```
477
477
478
-
See [`configs/strict-type-checked-only.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/strict-type-checked-only.ts) for the exact contents of this config.
478
+
See [`configs/strict-type-checked-only.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/strict-type-checked-only.ts) for the exact contents of this config.
479
479
480
480
:::warning
481
481
This configuration is not considered "stable" under Semantic Versioning (semver).
@@ -493,7 +493,7 @@ module.exports = {
493
493
};
494
494
```
495
495
496
-
See [`configs/stylistic-type-checked-only.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/stylistic-type-checked-only.ts) for the exact contents of this config.
496
+
See [`configs/stylistic-type-checked-only.ts`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslintrc/stylistic-type-checked-only.ts) for the exact contents of this config.
0 commit comments