Skip to content

Commit a62ed30

Browse files
chore: Update prettier to 3.6.2
1 parent 1b1d088 commit a62ed30

File tree

13 files changed

+113
-101
lines changed

13 files changed

+113
-101
lines changed

.prettierignore

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,7 @@ packages/eslint-plugin/tests/fixtures/indent/
1212
# ignore all error fixtures cos they often have intentional syntax errors
1313
packages/ast-spec/src/*/*/fixtures/_error_/*/fixture.ts
1414

15-
# TS 5.6 -- string literal import/export specifiers
1615
# TODO - remove this once prettier supports it
17-
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-identifier-aliased-to-string-literal-with-source/fixture.ts
18-
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-identifier-aliased-to-string-literal-without-source/fixture.ts
19-
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-string-literal-aliased-to-identifier-with-source/fixture.ts
20-
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-string-literal-many-with-source/fixture.ts
21-
packages/ast-spec/src/declaration/ExportNamedDeclaration/fixtures/braced-string-literal-with-source/fixture.ts
22-
packages/ast-spec/src/declaration/ImportDeclaration/fixtures/named-string-literal-aliased-to-identifier/fixture.ts
23-
packages/ast-spec/src/special/ExportSpecifier/fixtures/literal-specifier/fixture.ts
24-
packages/ast-spec/src/special/ExportSpecifier/fixtures/value-export-specifier/fixture.ts
25-
26-
# TODO - remove this once prettier supports it
27-
# https://github.com/prettier/prettier/issues/16072
28-
packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-import-attributes-with/fixture.ts
2916
# https://github.com/prettier/prettier/issues/17405
3017
packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-trailing-comma-in-import-attributes/fixture.ts
3118

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@
111111
"@types/node": "^22.0.0",
112112
"@types/react": "^18.2.14",
113113
"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",
114-
"prettier": "3.6.2",
115114
"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",
116115
"tsx": "^4.7.2",
117116
"typescript": "5.9.2"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
type A = import("A", { with: { type: "json" } });
1+
type A = import('A', { with: { type: 'json' } });

packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-import-attributes-with/snapshots/1-TSESTree-AST.shot

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

packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-import-attributes-with/snapshots/2-TSESTree-Tokens.shot

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

packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-import-attributes-with/snapshots/3-Babel-AST.shot

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

packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-import-attributes-with/snapshots/4-Babel-Tokens.shot

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

packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-import-attributes-with/snapshots/5-AST-Alignment-AST.shot

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

packages/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-import-attributes-with/snapshots/6-AST-Alignment-Tokens.shot

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

packages/eslint-plugin/tests/rules/no-confusing-void-expression.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ ruleTester.run('no-confusing-void-expression', rule, {
110110

111111
`
112112
function cool(input: string) {
113-
return console.log(input), input;
113+
return (console.log(input), input);
114114
}
115115
`,
116116
{
117117
code: `
118118
function cool(input: string) {
119-
return input, console.log(input), input;
119+
return (input, console.log(input), input);
120120
}
121121
`,
122122
},
@@ -487,10 +487,10 @@ test((() => {
487487
{
488488
code: `
489489
function notcool(input: string) {
490-
return input, console.log(input);
490+
return (input, console.log(input));
491491
}
492492
`,
493-
errors: [{ column: 17, line: 3, messageId: 'invalidVoidExpr' }],
493+
errors: [{ column: 18, line: 3, messageId: 'invalidVoidExpr' }],
494494
output: null,
495495
},
496496
{

0 commit comments

Comments
 (0)