Skip to content

Commit 9311c69

Browse files
Merge branch 'main'
2 parents ee46c9c + b4fe94f commit 9311c69

File tree

95 files changed

+2052
-1036
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+2052
-1036
lines changed

.github/replies.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ replies:
8888
The configurability also leads to huge fanout [making tests huge, and awful to maintain](https://github.com/typescript-eslint/typescript-eslint/blob/b814e635c1f34139c89e0176727480935dd45cac/packages/eslint-plugin/tests/rules/type-annotation-spacing.test.ts).
8989
\
9090
It's for these reasons that [eslint has frozen all stylistic lint rule options, and will not accept any new ones](https://eslint.org/blog/2020/05/changes-to-rules-policies).
91-
See also our [What About Formatting?](https://typescript-eslint.io/linting/troubleshooting/formatting) docs.
91+
See also our [What About Formatting?](https://typescript-eslint.io/users/what-about-formatting) docs.
9292
name: Use Prettier

CHANGELOG.md

+40
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
## 7.14.1 (2024-06-24)
2+
3+
4+
### 🩹 Fixes
5+
6+
- **eslint-plugin:** [prefer-nullish-coalescing] treat enums and literals as their underlying primitive types ([#9376](https://github.com/typescript-eslint/typescript-eslint/pull/9376))
7+
- **eslint-plugin:** [prefer-nullish-coalescing] ensure ternary fix does not remove parens ([#9380](https://github.com/typescript-eslint/typescript-eslint/pull/9380))
8+
9+
### ❤️ Thank You
10+
11+
- Jake Bailey @jakebailey
12+
13+
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
14+
15+
## 7.14.0 (2024-06-24)
16+
17+
18+
### 🚀 Features
19+
20+
- support TypeScript 5.5 ([#9397](https://github.com/typescript-eslint/typescript-eslint/pull/9397))
21+
- **ast-spec:** tighter types and documentation for declaration/* ([#9211](https://github.com/typescript-eslint/typescript-eslint/pull/9211))
22+
23+
### 🩹 Fixes
24+
25+
- keep warnAbountTSVersion in sync with package.json ([#9400](https://github.com/typescript-eslint/typescript-eslint/pull/9400))
26+
- **eslint-plugin:** [no-extraneous-class] handle abstract members ([#9367](https://github.com/typescript-eslint/typescript-eslint/pull/9367))
27+
- **eslint-plugin:** [prefer-nullish-coalescing] handle intersected primitive types ([#9378](https://github.com/typescript-eslint/typescript-eslint/pull/9378))
28+
- **eslint-plugin:** [no-invalid-this] support AccessorProperty ([#9411](https://github.com/typescript-eslint/typescript-eslint/pull/9411))
29+
30+
### ❤️ Thank You
31+
32+
- Brad Zacher @bradzacher
33+
- cm-ayf @cm-ayf
34+
- Jake Bailey @jakebailey
35+
- James Zhan
36+
- Joshua Chen
37+
- yoshi2no @yoshi2no
38+
39+
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
40+
141
## 7.13.1 (2024-06-17)
242

343

docs/getting-started/Legacy_ESLint_Setup.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ ESLint will lint all TypeScript compatible files within the current folder, and
8484

8585
## Next Steps
8686

87-
If you're having problems getting this working, please have a look at our [Troubleshooting & FAQs](../troubleshooting/FAQ.mdx).
87+
If you're having problems getting this working, please have a look at our [Troubleshooting & FAQs](../troubleshooting/faqs/General.mdx).
8888

8989
### Additional Configs
9090

@@ -116,7 +116,7 @@ You can read more about these in our [shared configurations docs](../users/Share
116116
### Typed Linting
117117

118118
We also provide a plethora of powerful rules that utilize the power of TypeScript's type information.
119-
[Visit the next page for a typed rules setup guide](./Typed_Linting.mdx).
119+
[Visit the next page for a typed rules setup guide](../troubleshooting/typed-linting/index.mdx).
120120

121121
### Documentation Resources
122122

docs/getting-started/Quickstart.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ESLint will lint all TypeScript compatible files within the current folder, and
8383

8484
## Next Steps
8585

86-
If you're having problems getting this working, please have a look at our [Troubleshooting & FAQs](../troubleshooting/FAQ.mdx).
86+
If you're having problems getting this working, please have a look at our [Troubleshooting & FAQs](../troubleshooting/faqs/General.mdx).
8787

8888
### Additional Configs
8989

docs/getting-started/Typed_Linting.mdx

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: typed-linting
33
title: Linting with Type Information
4-
pagination_next: getting-started/typed-linting/monorepos
54
---
65

76
import Tabs from '@theme/Tabs';
@@ -85,7 +84,7 @@ In more detail:
8584

8685
:::caution
8786
Your ESLint config file may start receiving a parsing error about type information.
88-
See [our TSConfig inclusion FAQ](../troubleshooting/FAQ.mdx#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file).
87+
See [our TSConfig inclusion FAQ](../troubleshooting/faqs/General.mdx#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file).
8988
:::
9089

9190
With that done, run the same lint command you ran before.
@@ -186,7 +185,7 @@ module.exports = {
186185
See [the `@typescript-eslint/parser` docs for more details](../packages/Parser.mdx#project).
187186

188187
:::note
189-
If your project is a multi-package monorepo, see [our docs on configuring a monorepo](./typed-linting/Monorepos.mdx).
188+
If your project is a multi-package monorepo, see [our docs on configuring a monorepo](../troubleshooting/typed-linting/Monorepos.mdx).
190189
:::
191190

192191
### How can I disable type-aware linting for a subset of files?
@@ -266,4 +265,4 @@ This means that generally they usually only run a complete lint before a push, o
266265

267266
## Troubleshooting
268267

269-
If you're having problems getting this working, please have a look at our [Troubleshooting and FAQs page](../troubleshooting/FAQ.mdx).
268+
If you're having problems getting this working, please have a look at our [Troubleshooting FAQs](../troubleshooting/faqs/General.mdx).

docs/maintenance/Issues.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ We avoid features that:
141141
- Are only relevant for a minority of users, as they aren't likely worth the maintenance burden
142142
- Aren't TypeScript-specific (e.g. should be in ESLint core instead)
143143
- Are only relevant with specific userland frameworks or libraries, such as Jest or React
144-
- Are for "formatting" functionality (we [strongly recommend users use a separate dedicated formatter](../troubleshooting/Formatting.mdx))
144+
- Are for "formatting" functionality (we [strongly recommend users use a separate dedicated formatter](../users/What_About_Formatting.mdx))
145145

146146
#### ✨ Rule Enhancements
147147

docs/packages/ESLint_Plugin_TSLint.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sidebar_label: eslint-plugin-tslint
1010
> ESLint plugin that allows running TSLint rules within ESLint to help you migrate from TSLint to ESLint. ✨
1111
1212
:::caution
13-
Per [What About TSLint?](../troubleshooting/TSLint.mdx), we highly recommend migrating off TSLint.
13+
Per [What About TSLint?](../users/What_About_TSLint.mdx), we highly recommend migrating off TSLint.
1414
See [Getting Started](../getting-started/Quickstart.mdx) for documentation on how to lint your TypeScript code with ESLint.
1515
:::
1616

docs/packages/Parser.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ The default extensions are `['.js', '.mjs', '.cjs', '.jsx', '.ts', '.mts', '.cts
153153
Add extensions starting with `.`, followed by the file extension. E.g. for a `.vue` file use `"extraFileExtensions": [".vue"]`.
154154

155155
:::note
156-
See [Changes to `extraFileExtensions` with `projectService`](../troubleshooting/Performance.mdx#changes-to-extrafileextensions-with-projectservice) to avoid performance issues.
156+
See [Changes to `extraFileExtensions` with `projectService`](../troubleshooting/typed-linting/Performance.mdx#changes-to-extrafileextensions-with-projectservice) to avoid performance issues.
157157
:::
158158

159159
### `jsDocParsingMode`

0 commit comments

Comments
 (0)