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

Skip to content

Commit ce3fc11

Browse files
Merge branch 'main'
2 parents 7f16dad + cde2f97 commit ce3fc11

File tree

80 files changed

+4606
-716
lines changed

Some content is hidden

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

80 files changed

+4606
-716
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
## 8.19.0 (2024-12-30)
2+
3+
### 🚀 Features
4+
5+
- **eslint-plugin:** [strict-boolean-expressions] check array predicate functions' return statements ([#10106](https://github.com/typescript-eslint/typescript-eslint/pull/10106))
6+
7+
### 🩹 Fixes
8+
9+
- **eslint-plugin:** add getConstraintInfo to handle generic constraints better ([#10496](https://github.com/typescript-eslint/typescript-eslint/pull/10496))
10+
- **eslint-plugin:** [array-type] autofix with conditional types needs parentheses ([#10522](https://github.com/typescript-eslint/typescript-eslint/pull/10522))
11+
- **eslint-plugin:** [consistent-indexed-object-style] don't report on indirect circular references ([#10537](https://github.com/typescript-eslint/typescript-eslint/pull/10537))
12+
- **eslint-plugin:** [member-ordering] ignore method overloading ([#10536](https://github.com/typescript-eslint/typescript-eslint/pull/10536))
13+
14+
### ❤️ Thank You
15+
16+
- Karl Werner
17+
- Kirk Waiblinger @kirkwaiblinger
18+
- Ronen Amiel
19+
- YeonJuan @yeonjuan
20+
21+
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.
22+
23+
## 8.18.2 (2024-12-23)
24+
25+
### 🩹 Fixes
26+
27+
- **eslint-plugin:** [no-deprecated] not reporting usages of deprecated declared constants as object value ([#10498](https://github.com/typescript-eslint/typescript-eslint/pull/10498))
28+
- **eslint-plugin:** [prefer-reduce-type-parameter] don't report cases in which the fix results in a type error ([#10494](https://github.com/typescript-eslint/typescript-eslint/pull/10494))
29+
- **eslint-plugin:** [no-unnecessary-condition] don't flag values of an unconstrained or valid type parameter ([#10473](https://github.com/typescript-eslint/typescript-eslint/pull/10473))
30+
- **eslint-plugin:** [consistent-indexed-object-style] use a suggestion over an auto-fix if can't reliably determine that produced index signature is valid ([#10490](https://github.com/typescript-eslint/typescript-eslint/pull/10490))
31+
- **eslint-plugin:** [no-unsafe-type-assertion] fix for unsafe assertion to a constrained type parameter ([#10461](https://github.com/typescript-eslint/typescript-eslint/pull/10461))
32+
- **eslint-plugin:** [no-unnecessary-type-arguments] handle type/value context ([#10503](https://github.com/typescript-eslint/typescript-eslint/pull/10503))
33+
- **eslint-plugin:** [consistent-type-assertions] allow default assertionStyle option ([#10512](https://github.com/typescript-eslint/typescript-eslint/pull/10512))
34+
- **eslint-plugin:** [no-unnecessary-condition] handle noUncheckedIndexedAccess true ([#10514](https://github.com/typescript-eslint/typescript-eslint/pull/10514))
35+
- **typescript-eslint:** export types so that declarations can be named for dts files ([#10513](https://github.com/typescript-eslint/typescript-eslint/pull/10513))
36+
37+
### ❤️ Thank You
38+
39+
- Brad Zacher @bradzacher
40+
- Luke Deen Taylor @controversial
41+
- Ronen Amiel
42+
- Scott O'Hara
43+
- YeonJuan @yeonjuan
44+
- Yukihiro Hasegawa @y-hsgw
45+
46+
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.
47+
148
## 8.18.1 (2024-12-16)
249

350
### 🩹 Fixes

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@
113113
"make-dir": "^4.0.0",
114114
"markdownlint-cli": "^0.43.0",
115115
"ncp": "^2.0.0",
116-
"nx": "20.2.2",
117-
"prettier": "3.3.2",
116+
"nx": "20.3.0",
117+
"prettier": "3.4.2",
118118
"pretty-format": "^29.7.0",
119119
"rimraf": "^5.0.5",
120120
"semver": "7.6.2",
@@ -138,7 +138,7 @@
138138
"jest-config": "^29",
139139
"jest-resolve": "^29",
140140
"jest-util": "^29",
141-
"prettier": "3.3.2",
141+
"prettier": "3.4.2",
142142
"pretty-format": "^29",
143143
"react-split-pane@^0.1.92": "patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch",
144144
"tmp": "0.2.1",

packages/ast-spec/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 8.19.0 (2024-12-30)
2+
3+
This was a version bump only for ast-spec to align it with other projects, there were no code changes.
4+
5+
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.
6+
7+
## 8.18.2 (2024-12-23)
8+
9+
This was a version bump only for ast-spec to align it with other projects, there were no code changes.
10+
11+
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.
12+
113
## 8.18.1 (2024-12-16)
214

315
This was a version bump only for ast-spec to align it with other projects, there were no code changes.

packages/ast-spec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typescript-eslint/ast-spec",
3-
"version": "8.18.1",
3+
"version": "8.19.0",
44
"description": "Complete specification for the TypeScript-ESTree AST",
55
"private": true,
66
"keywords": [

packages/ast-spec/src/legacy-fixtures/basics/fixtures/abstract-class-with-declare-properties/fixture.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
abstract class AbstractDeclProps {
44
declare prop1: string;
55
declare abstract prop2: string;
6-
public declare abstract prop3: string;
6+
declare public abstract prop3: string;
77
declare abstract readonly prop4: string;
8-
public declare abstract readonly prop5: string;
8+
declare public abstract readonly prop5: string;
99
}

packages/ast-spec/src/legacy-fixtures/basics/fixtures/abstract-class-with-declare-properties/snapshots/2-TSESTree-Tokens.shot

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ast-spec/src/legacy-fixtures/basics/fixtures/abstract-class-with-declare-properties/snapshots/4-Babel-Tokens.shot

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ast-spec/src/legacy-fixtures/basics/fixtures/abstract-class-with-declare-properties/snapshots/6-AST-Alignment-Tokens.shot

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ast-spec/src/legacy-fixtures/basics/fixtures/class-with-declare-properties/fixture.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
class DeclProps {
44
declare prop1: string;
5-
public declare prop2: string;
5+
declare public prop2: string;
66
declare static prop3: string;
77
declare readonly prop3: string;
8-
public declare readonly prop4: string;
9-
public declare static prop5: string;
10-
public declare static readonly prop6: string;
8+
declare public readonly prop4: string;
9+
declare public static prop5: string;
10+
declare public static readonly prop6: string;
1111
}

0 commit comments

Comments
 (0)