Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(deps): update dependency prettier to v3.6.2#11496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kirkwaiblinger merged 3 commits intomainfromrenovate/prettier-3.x
Aug 18, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions.prettierignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,20 +12,7 @@ packages/eslint-plugin/tests/fixtures/indent/
# ignore all error fixtures cos they often have intentional syntax errors
packages/ast-spec/src/*/*/fixtures/_error_/*/fixture.ts

# TS 5.6 -- string literal import/export specifiers
# TODO - remove this once prettier supports it
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-identifier-aliased-to-string-literal-with-source/fixture.ts
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-identifier-aliased-to-string-literal-without-source/fixture.ts
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-string-literal-aliased-to-identifier-with-source/fixture.ts
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-string-literal-many-with-source/fixture.ts
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-string-literal-with-source/fixture.ts
packages/ast-spec/src/declaration/ImportDeclaration/fixtures/named-string-literal-aliased-to-identifier/fixture.ts
packages/ast-spec/src/special/ExportSpecifier/fixtures/literal-specifier/fixture.ts
packages/ast-spec/src/special/ExportSpecifier/fixtures/value-export-specifier/fixture.ts

# TODO - remove this once prettier supports it
# https://github.com/prettier/prettier/issues/16072
packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-import-attributes-with/fixture.ts
# https://github.com/prettier/prettier/issues/17405
packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-trailing-comma-in-import-attributes/fixture.ts

Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -112,7 +112,6 @@ See [feat: drop support for node v12](https://github.com/typescript-eslint/types
We generally start the process of supporting a new TypeScript version just after the first beta release for that version is made available.

1. Create and pin an issue with a title like _TypeScript X.Y Support_, `accepting prs`, `AST`, `dependencies`, and `New TypeScript Version` labels, and the following contents:

1. A link to the _TypeScript X.Y Iteration Plan_ issue from the Microsoft issue tracker
2. The following text:

Expand Down
1 change: 0 additions & 1 deletiondocs/packages/Parser.mdx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -251,7 +251,6 @@ project: null;
```

- If `true`, each source file's parse will find the nearest `tsconfig.json` file to that source file.

- This is done by checking that source file's directory tree for the nearest `tsconfig.json`.

- If you use project references, TypeScript will **not** automatically use project references to resolve files. This means that you will have to add each referenced tsconfig to the `project` field either separately, or via a glob.
Expand Down
3 changes: 1 addition & 2 deletionspackage.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -94,7 +94,7 @@
"lint-staged": "^15.2.2",
"markdownlint-cli": "^0.44.0",
"nx": "21.2.3",
"prettier": "3.5.0",
"prettier": "3.6.2",
"rimraf": "^5.0.5",
"semver": "7.7.0",
"tsx": "*",
Expand All@@ -111,7 +111,6 @@
"@types/node": "^22.0.0",
"@types/react": "^18.2.14",
"eslint-plugin-eslint-plugin@^5.5.0": "patch:eslint-plugin-eslint-plugin@npm%3A5.5.1#./.yarn/patches/eslint-plugin-eslint-plugin-npm-5.5.1-4206c2506d.patch",
"prettier": "3.5.0",
"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",
"tsx": "^4.7.2",
"typescript": "5.9.2"
Expand Down
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
type A = import("A", { with: { type:"json" } });
type A = import('A', { with: { type:'json' } });

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

2 changes: 1 addition & 1 deletionpackages/eslint-plugin-internal/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,7 +27,7 @@
"@typescript-eslint/scope-manager": "workspace:*",
"@typescript-eslint/type-utils": "workspace:*",
"@typescript-eslint/utils": "workspace:*",
"prettier": "3.5.0"
"prettier": "3.6.2"
},
"devDependencies": {
"@vitest/coverage-v8": "^3.1.3",
Expand Down
2 changes: 1 addition & 1 deletionpackages/eslint-plugin/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -83,7 +83,7 @@
"mdast-util-from-markdown": "^2.0.0",
"mdast-util-mdx": "^3.0.0",
"micromark-extension-mdxjs": "^3.0.0",
"prettier": "3.5.0",
"prettier": "3.6.2",
"rimraf": "*",
"title-case": "^4.0.0",
"tsx": "*",
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -110,13 +110,13 @@ ruleTester.run('no-confusing-void-expression', rule, {

`
function cool(input: string) {
return console.log(input), input;
return(console.log(input), input);
}
`,
{
code: `
function cool(input: string) {
return input, console.log(input), input;
return(input, console.log(input), input);
}
`,
},
Expand DownExpand Up@@ -487,10 +487,10 @@ test((() => {
{
code: `
function notcool(input: string) {
return input, console.log(input);
return(input, console.log(input));
}
`,
errors: [{ column:17, line: 3, messageId: 'invalidVoidExpr' }],
errors: [{ column:18, line: 3, messageId: 'invalidVoidExpr' }],
output: null,
},
{
Expand Down
66 changes: 33 additions & 33 deletionspackages/eslint-plugin/tests/rules/no-floating-promises.test.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -112,18 +112,18 @@ async function test() {
`,
`
async function test() {
Promise.resolve().catch(() => {}), 123;
123,
(Promise.resolve().catch(() => {}), 123);
(123,
Promise.resolve().then(
() => {},
() => {},
);
123,
));
(123,
Promise.resolve().then(
() => {},
() => {},
),
123;
123);
}
`,
`
Expand DownExpand Up@@ -512,7 +512,7 @@ interface SafeThenable<T> {
): SafeThenable<TResult1 | TResult2>;
}
let promise: SafeThenable<number> = Promise.resolve(5);
0, promise;
(0, promise);
`,
options: [
{
Expand DownExpand Up@@ -594,7 +594,7 @@ interface SafeThenable<T> {
): SafeThenable<TResult1 | TResult2>;
}
let promise: () => SafeThenable<number> = () => Promise.resolve(5);
0, promise();
(0, promise());
`,
options: [
{
Expand DownExpand Up@@ -2000,9 +2000,9 @@ async function test() {
{
code: `
async function test() {
Promise.resolve(), 123;
123, Promise.resolve();
123, Promise.resolve(), 123;
(Promise.resolve(), 123);
(123, Promise.resolve());
(123, Promise.resolve(), 123);
}
`,
errors: [
Expand All@@ -2014,19 +2014,19 @@ async function test() {
messageId: 'floatingFixVoid',
output: `
async function test() {
void (Promise.resolve(), 123);
123, Promise.resolve();
123, Promise.resolve(), 123;
void ((Promise.resolve(), 123));
(123, Promise.resolve());
(123, Promise.resolve(), 123);
}
`,
},
{
messageId: 'floatingFixAwait',
output: `
async function test() {
await (Promise.resolve(), 123);
123, Promise.resolve();
123, Promise.resolve(), 123;
await ((Promise.resolve(), 123));
(123, Promise.resolve());
(123, Promise.resolve(), 123);
}
`,
},
Expand All@@ -2040,19 +2040,19 @@ async function test() {
messageId: 'floatingFixVoid',
output: `
async function test() {
Promise.resolve(), 123;
void (123, Promise.resolve());
123, Promise.resolve(), 123;
(Promise.resolve(), 123);
void ((123, Promise.resolve()));
(123, Promise.resolve(), 123);
}
`,
},
{
messageId: 'floatingFixAwait',
output: `
async function test() {
Promise.resolve(), 123;
await (123, Promise.resolve());
123, Promise.resolve(), 123;
(Promise.resolve(), 123);
await ((123, Promise.resolve()));
(123, Promise.resolve(), 123);
}
`,
},
Expand All@@ -2066,19 +2066,19 @@ async function test() {
messageId: 'floatingFixVoid',
output: `
async function test() {
Promise.resolve(), 123;
123, Promise.resolve();
void (123, Promise.resolve(), 123);
(Promise.resolve(), 123);
(123, Promise.resolve());
void ((123, Promise.resolve(), 123));
}
`,
},
{
messageId: 'floatingFixAwait',
output: `
async function test() {
Promise.resolve(), 123;
123, Promise.resolve();
await (123, Promise.resolve(), 123);
(Promise.resolve(), 123);
(123, Promise.resolve());
await ((123, Promise.resolve(), 123));
}
`,
},
Expand DownExpand Up@@ -2194,7 +2194,7 @@ await /* ... */ returnsPromise();
async function returnsPromise() {
return 'value';
}
1, returnsPromise();
(1, returnsPromise());
`,
errors: [
{
Expand All@@ -2207,7 +2207,7 @@ async function returnsPromise() {
async function returnsPromise() {
return 'value';
}
await (1, returnsPromise());
await ((1, returnsPromise()));
`,
},
],
Expand DownExpand Up@@ -4516,7 +4516,7 @@ await promiseIntersection.finally(() => {});
},
{
code: `
Promise.resolve().finally(() => {}), 123;
(Promise.resolve().finally(() => {}), 123);
`,
errors: [
{
Expand All@@ -4526,13 +4526,13 @@ Promise.resolve().finally(() => {}), 123;
{
messageId: 'floatingFixVoid',
output: `
void (Promise.resolve().finally(() => {}), 123);
void ((Promise.resolve().finally(() => {}), 123));
`,
},
{
messageId: 'floatingFixAwait',
output: `
await (Promise.resolve().finally(() => {}), 123);
await ((Promise.resolve().finally(() => {}), 123));
`,
},
],
Expand Down
Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp