Skip to content

Commit

Permalink
Merge branch 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jun 24, 2024
2 parents ee46c9c + b4fe94f commit 9311c69
Show file tree
Hide file tree
Showing 95 changed files with 2,052 additions and 1,036 deletions.
2 changes: 1 addition & 1 deletion .github/replies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ replies:
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).
\
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).
See also our [What About Formatting?](https://typescript-eslint.io/linting/troubleshooting/formatting) docs.
See also our [What About Formatting?](https://typescript-eslint.io/users/what-about-formatting) docs.
name: Use Prettier
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
## 7.14.1 (2024-06-24)


### 🩹 Fixes

- **eslint-plugin:** [prefer-nullish-coalescing] treat enums and literals as their underlying primitive types ([#9376](https://github.com/typescript-eslint/typescript-eslint/pull/9376))
- **eslint-plugin:** [prefer-nullish-coalescing] ensure ternary fix does not remove parens ([#9380](https://github.com/typescript-eslint/typescript-eslint/pull/9380))

### ❤️ Thank You

- Jake Bailey @jakebailey

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.

## 7.14.0 (2024-06-24)


### 🚀 Features

- support TypeScript 5.5 ([#9397](https://github.com/typescript-eslint/typescript-eslint/pull/9397))
- **ast-spec:** tighter types and documentation for declaration/* ([#9211](https://github.com/typescript-eslint/typescript-eslint/pull/9211))

### 🩹 Fixes

- keep warnAbountTSVersion in sync with package.json ([#9400](https://github.com/typescript-eslint/typescript-eslint/pull/9400))
- **eslint-plugin:** [no-extraneous-class] handle abstract members ([#9367](https://github.com/typescript-eslint/typescript-eslint/pull/9367))
- **eslint-plugin:** [prefer-nullish-coalescing] handle intersected primitive types ([#9378](https://github.com/typescript-eslint/typescript-eslint/pull/9378))
- **eslint-plugin:** [no-invalid-this] support AccessorProperty ([#9411](https://github.com/typescript-eslint/typescript-eslint/pull/9411))

### ❤️ Thank You

- Brad Zacher @bradzacher
- cm-ayf @cm-ayf
- Jake Bailey @jakebailey
- James Zhan
- Joshua Chen
- yoshi2no @yoshi2no

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.

## 7.13.1 (2024-06-17)


Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/Legacy_ESLint_Setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ESLint will lint all TypeScript compatible files within the current folder, and

## Next Steps

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

### Additional Configs

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

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

### Documentation Resources

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/Quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ESLint will lint all TypeScript compatible files within the current folder, and

## Next Steps

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

### Additional Configs

Expand Down
7 changes: 3 additions & 4 deletions docs/getting-started/Typed_Linting.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
id: typed-linting
title: Linting with Type Information
pagination_next: getting-started/typed-linting/monorepos
---

import Tabs from '@theme/Tabs';
Expand Down Expand Up @@ -85,7 +84,7 @@ In more detail:

:::caution
Your ESLint config file may start receiving a parsing error about type information.
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).
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).
:::

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

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

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

## Troubleshooting

If you're having problems getting this working, please have a look at our [Troubleshooting and FAQs page](../troubleshooting/FAQ.mdx).
If you're having problems getting this working, please have a look at our [Troubleshooting FAQs](../troubleshooting/faqs/General.mdx).
2 changes: 1 addition & 1 deletion docs/maintenance/Issues.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ We avoid features that:
- Are only relevant for a minority of users, as they aren't likely worth the maintenance burden
- Aren't TypeScript-specific (e.g. should be in ESLint core instead)
- Are only relevant with specific userland frameworks or libraries, such as Jest or React
- Are for "formatting" functionality (we [strongly recommend users use a separate dedicated formatter](../troubleshooting/Formatting.mdx))
- Are for "formatting" functionality (we [strongly recommend users use a separate dedicated formatter](../users/What_About_Formatting.mdx))

#### ✨ Rule Enhancements

Expand Down
2 changes: 1 addition & 1 deletion docs/packages/ESLint_Plugin_TSLint.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sidebar_label: eslint-plugin-tslint
> ESLint plugin that allows running TSLint rules within ESLint to help you migrate from TSLint to ESLint. ✨
:::caution
Per [What About TSLint?](../troubleshooting/TSLint.mdx), we highly recommend migrating off TSLint.
Per [What About TSLint?](../users/What_About_TSLint.mdx), we highly recommend migrating off TSLint.
See [Getting Started](../getting-started/Quickstart.mdx) for documentation on how to lint your TypeScript code with ESLint.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/packages/Parser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ The default extensions are `['.js', '.mjs', '.cjs', '.jsx', '.ts', '.mts', '.cts
Add extensions starting with `.`, followed by the file extension. E.g. for a `.vue` file use `"extraFileExtensions": [".vue"]`.

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

### `jsDocParsingMode`
Expand Down
Loading

0 comments on commit 9311c69

Please sign in to comment.