oxc/tasks/prettier_conformance/snapshots/prettier.js.snap.md
leaysgur 32c7db0ec6 chore(tasks): Update prettier_conformance task (#7500)
- Update Prettier version: `3.3.3` > `3.4.1`
- Add more ignored tests
- Add `jsx` tests
- Remove unused `runner.rs`
- Refactoring
2024-11-27 08:40:43 +00:00

16 KiB

js compatibility: 240/641 (37.44%)

Failed

js/arrays

  • js/arrays/numbers-negative-comment-after-minus.js
  • js/arrays/numbers-negative.js
  • js/arrays/numbers-trailing-comma.js
  • js/arrays/numbers-with-holes.js
  • js/arrays/numbers-with-trailing-comments.js
  • js/arrays/numbers-with-tricky-comments.js
  • js/arrays/numbers2.js
  • js/arrays/numbers3.js
  • js/arrays/preserve_empty_lines.js

js/arrow-call

  • js/arrow-call/arrow_call.js
  • js/arrow-call/class-property.js

js/arrows

  • js/arrows/arrow-chain-with-trailing-comments.js
  • js/arrows/arrow_function_expression.js
  • js/arrows/assignment-chain-with-arrow-chain.js
  • js/arrows/call.js
  • js/arrows/chain-as-arg.js
  • js/arrows/chain-in-logical-expression.js
  • js/arrows/comment.js
  • js/arrows/curried.js
  • js/arrows/currying-2.js
  • js/arrows/currying-3.js
  • js/arrows/currying-4.js
  • js/arrows/currying.js
  • js/arrows/issue-1389-curry.js
  • js/arrows/long-call-no-args.js
  • js/arrows/parens.js

js/assignment

  • js/assignment/binaryish.js
  • js/assignment/call-with-template.js
  • js/assignment/chain-two-segments.js
  • js/assignment/chain.js
  • js/assignment/discussion-15196.js
  • js/assignment/issue-10218.js
  • js/assignment/issue-2184.js
  • js/assignment/issue-2540.js
  • js/assignment/issue-5610.js
  • js/assignment/issue-6922.js
  • js/assignment/issue-7572.js
  • js/assignment/issue-7961.js
  • js/assignment/lone-arg.js

js/assignment-comments

  • js/assignment-comments/call.js
  • js/assignment-comments/call2.js
  • js/assignment-comments/function.js
  • js/assignment-comments/identifier.js
  • js/assignment-comments/number.js
  • js/assignment-comments/string.js

js/async

  • js/async/inline-await.js
  • js/async/nested.js

js/binary-expressions

  • js/binary-expressions/arrow.js
  • js/binary-expressions/call.js
  • js/binary-expressions/comment.js
  • js/binary-expressions/if.js
  • js/binary-expressions/in_instanceof.js
  • js/binary-expressions/inline-jsx.js
  • js/binary-expressions/inline-object-array.js
  • js/binary-expressions/jsx_parent.js
  • js/binary-expressions/short-right.js
  • js/binary-expressions/test.js
  • js/binary-expressions/unary.js

js/break-calls

  • js/break-calls/break.js
  • js/break-calls/parent.js
  • js/break-calls/react.js

js/call/first-argument-expansion

  • js/call/first-argument-expansion/expression-2nd-arg.js
  • js/call/first-argument-expansion/issue-13237.js
  • js/call/first-argument-expansion/issue-2456.js
  • js/call/first-argument-expansion/issue-4401.js
  • js/call/first-argument-expansion/issue-5172.js
  • js/call/first-argument-expansion/jsx.js
  • js/call/first-argument-expansion/test.js

js/call/no-argument

  • js/call/no-argument/special-cases.js

js/chain-expression

  • js/chain-expression/call-expression.js
  • js/chain-expression/issue-15785-1.js
  • js/chain-expression/issue-15785-2.js
  • js/chain-expression/issue-15785-3.js
  • js/chain-expression/issue-15916.js
  • js/chain-expression/member-expression.js
  • js/chain-expression/test-3.js
  • js/chain-expression/test-4.js
  • js/chain-expression/test.js

js/class-comment

  • js/class-comment/class-property.js
  • js/class-comment/misc.js
  • js/class-comment/superclass.js

js/class-extends

  • js/class-extends/extends.js

js/classes

  • js/classes/asi.js
  • js/classes/assignment.js
  • js/classes/empty.js
  • js/classes/method.js
  • js/classes/property.js

js/classes-private-fields

  • js/classes-private-fields/optional-chaining.js
  • js/classes-private-fields/with_comments.js

js/comments

  • js/comments/15661.js
  • js/comments/16398.js
  • js/comments/arrow.js
  • js/comments/assignment-pattern.js
  • js/comments/before-comma.js
  • js/comments/binary-expressions-block-comments.js
  • js/comments/binary-expressions-parens.js
  • js/comments/binary-expressions-single-comments.js
  • js/comments/binary-expressions.js
  • js/comments/blank.js
  • js/comments/break-continue-statements.js
  • js/comments/call_comment.js
  • js/comments/class.js
  • js/comments/dangling.js
  • js/comments/dangling_array.js
  • js/comments/dangling_for.js
  • js/comments/dynamic_imports.js
  • js/comments/emoji.js
  • js/comments/empty-statements.js
  • js/comments/export-and-import.js
  • js/comments/export.js
  • js/comments/first-line.js
  • js/comments/function-declaration.js
  • js/comments/if.js
  • js/comments/issue-3532.js
  • js/comments/issues.js
  • js/comments/jsdoc-nestled-dangling.js
  • js/comments/jsdoc-nestled.js
  • js/comments/jsdoc.js
  • js/comments/jsx.js
  • js/comments/last-arg.js
  • js/comments/multi-comments-2.js
  • js/comments/multi-comments-on-same-line-2.js
  • js/comments/multi-comments-on-same-line.js
  • js/comments/multi-comments.js
  • js/comments/preserve-new-line-last.js
  • js/comments/return-statement.js
  • js/comments/single-star-jsdoc.js
  • js/comments/switch.js
  • js/comments/tagged-template-literal.js
  • js/comments/template-literal.js
  • js/comments/trailing-jsdocs.js
  • js/comments/trailing_space.js
  • js/comments/try.js
  • js/comments/variable_declarator.js
  • js/comments/while.js

js/comments/flow-types

  • js/comments/flow-types/inline.js

js/comments/function

  • js/comments/function/between-parentheses-and-function-body.js

js/comments/html-like

  • js/comments/html-like/comment.js

js/comments-closure-typecast

  • js/comments-closure-typecast/binary-expr.js
  • js/comments-closure-typecast/closure-compiler-type-cast.js
  • js/comments-closure-typecast/comment-in-the-middle.js
  • js/comments-closure-typecast/comment-placement.js
  • js/comments-closure-typecast/extra-spaces-and-asterisks.js
  • js/comments-closure-typecast/iife-issue-5850-isolated.js
  • js/comments-closure-typecast/iife.js
  • js/comments-closure-typecast/issue-4124.js
  • js/comments-closure-typecast/issue-8045.js
  • js/comments-closure-typecast/issue-9358.js
  • js/comments-closure-typecast/member.js
  • js/comments-closure-typecast/nested.js
  • js/comments-closure-typecast/non-casts.js
  • js/comments-closure-typecast/object-with-comment.js
  • js/comments-closure-typecast/satisfies.js
  • js/comments-closure-typecast/superclass.js
  • js/comments-closure-typecast/ways-to-specify-type.js

js/conditional

  • js/conditional/comments.js
  • js/conditional/new-ternary-examples.js
  • js/conditional/new-ternary-spec.js
  • js/conditional/no-confusing-arrow.js
  • js/conditional/postfix-ternary-regressions.js

js/destructuring

  • js/destructuring/destructuring.js

js/destructuring-ignore

  • js/destructuring-ignore/ignore.js

js/directives

  • js/directives/escaped.js
  • js/directives/issue-7346.js
  • js/directives/last-line-0.js
  • js/directives/last-line-1.js
  • js/directives/last-line-2.js
  • js/directives/newline.js
  • js/directives/test.js

js/empty-paren-comment

  • js/empty-paren-comment/class-property.js
  • js/empty-paren-comment/class.js
  • js/empty-paren-comment/empty_paren_comment.js

js/end-of-line

  • js/end-of-line/example.js

js/export

  • js/export/blank-line-between-specifiers.js
  • js/export/same-local-and-exported.js

js/expression_statement

  • js/expression_statement/no_regression.js
  • js/expression_statement/use_strict.js

js/for

  • js/for/comment.js
  • js/for/continue-and-break-comment-1.js
  • js/for/continue-and-break-comment-2.js
  • js/for/continue-and-break-comment-without-blocks.js
  • js/for/for-in-with-initializer.js
  • js/for/parentheses.js

js/function

  • js/function/issue-10277.js

js/function-comments

  • js/function-comments/params-trail-comments.js

js/function-first-param

  • js/function-first-param/function_expression.js

js/function-single-destructuring

  • js/function-single-destructuring/array.js
  • js/function-single-destructuring/object.js

js/functional-composition

  • js/functional-composition/functional_compose.js
  • js/functional-composition/lodash_flow.js
  • js/functional-composition/lodash_flow_right.js
  • js/functional-composition/pipe-function-calls-with-comments.js
  • js/functional-composition/pipe-function-calls.js
  • js/functional-composition/ramda_compose.js
  • js/functional-composition/ramda_pipe.js
  • js/functional-composition/redux_connect.js
  • js/functional-composition/reselect_createselector.js
  • js/functional-composition/rxjs_pipe.js

js/generator

  • js/generator/async.js
  • js/generator/function-name-starts-with-get.js

js/identifier/parentheses

  • js/identifier/parentheses/let.js

js/if

  • js/if/comment_before_else.js
  • js/if/else.js
  • js/if/expr_and_same_line_comments.js
  • js/if/if_comments.js
  • js/if/issue-15168.js
  • js/if/non-block.js
  • js/if/trailing_comment.js

js/import

  • js/import/comments.js
  • js/import/empty-import.js
  • js/import/same-local-and-imported.js

js/import-assertions

  • js/import-assertions/empty.js
  • js/import-assertions/keyword-detect.js

js/import-attributes

  • js/import-attributes/empty.js
  • js/import-attributes/keyword-detect.js
  • js/import-attributes/long-sources.js

js/import-attributes/quote-props

  • js/import-attributes/quote-props/quoted-keys.js

js/label

  • js/label/comment.js

js/last-argument-expansion

  • js/last-argument-expansion/arrow.js
  • js/last-argument-expansion/assignment-pattern.js
  • js/last-argument-expansion/break-parent.js
  • js/last-argument-expansion/dangling-comment-in-arrow-function.js
  • js/last-argument-expansion/edge_case.js
  • js/last-argument-expansion/empty-lines.js
  • js/last-argument-expansion/empty-object.js
  • js/last-argument-expansion/function-expression-issue-2239.js
  • js/last-argument-expansion/function-expression.js
  • js/last-argument-expansion/issue-10708.js
  • js/last-argument-expansion/issue-7518.js
  • js/last-argument-expansion/jsx.js
  • js/last-argument-expansion/number-only-array.js
  • js/last-argument-expansion/overflow.js

js/line-suffix-boundary

  • js/line-suffix-boundary/boundary.js

js/literal

  • js/literal/number.js

js/logical_expressions

  • js/logical_expressions/issue-7024.js
  • js/logical_expressions/logical_expression_operators.js

js/member

  • js/member/conditional.js
  • js/member/expand.js
  • js/member/logical.js

js/method-chain

  • js/method-chain/bracket_0-1.js
  • js/method-chain/break-last-call.js
  • js/method-chain/break-last-member.js
  • js/method-chain/comment.js
  • js/method-chain/computed-merge.js
  • js/method-chain/computed.js
  • js/method-chain/conditional.js
  • js/method-chain/d3.js
  • js/method-chain/first_long.js
  • js/method-chain/fluent-configuration.js
  • js/method-chain/inline_merge.js
  • js/method-chain/issue-11298.js
  • js/method-chain/issue-3594.js
  • js/method-chain/issue-4125.js
  • js/method-chain/logical.js
  • js/method-chain/multiple-members.js
  • js/method-chain/object-literal.js
  • js/method-chain/pr-7889.js
  • js/method-chain/short-names.js
  • js/method-chain/square_0.js
  • js/method-chain/test.js
  • js/method-chain/this.js

js/new-expression

  • js/new-expression/with-member-expression.js

js/newline

  • js/newline/backslash_2028.js
  • js/newline/backslash_2029.js

js/no-semi

  • js/no-semi/class.js
  • js/no-semi/comments.js
  • js/no-semi/issue2006.js
  • js/no-semi/no-semi.js

js/non-strict

  • js/non-strict/keywords.js

js/nullish-coalescing

  • js/nullish-coalescing/nullish_coalesing_operator.js

js/numeric-separators

  • js/numeric-separators/number.js

js/object-prop-break-in

  • js/object-prop-break-in/comment.js
  • js/object-prop-break-in/short-keys.js

js/object-property-comment

  • js/object-property-comment/after-key.js

js/object-property-ignore

  • js/object-property-ignore/ignore.js
  • js/object-property-ignore/issue-5678.js

js/objects

  • js/objects/escape-sequence-key.js
  • js/objects/expand.js
  • js/objects/right-break.js

js/optional-chaining

  • js/optional-chaining/chaining.js
  • js/optional-chaining/comments.js
  • js/optional-chaining/eval.js

js/optional-chaining-assignment

  • js/optional-chaining-assignment/valid-complex-case.js
  • js/optional-chaining-assignment/valid-lhs-eq.js
  • js/optional-chaining-assignment/valid-lhs-plus-eq.js

js/performance

  • js/performance/nested-real.js

js/preserve-line

  • js/preserve-line/argument-list.js
  • js/preserve-line/comments.js
  • js/preserve-line/member-chain.js
  • js/preserve-line/parameter-list.js

js/quote-props

  • js/quote-props/numeric-separator.js
  • js/quote-props/objects.js

js/quotes

  • js/quotes/objects.js
  • js/quotes/strings.js

js/require-amd

  • js/require-amd/named-amd-module.js
  • js/require-amd/require.js

js/return

  • js/return/binaryish.js
  • js/return/comment.js

js/sequence-break

  • js/sequence-break/break.js

js/sequence-expression

  • js/sequence-expression/ignore.js
  • js/sequence-expression/parenthesized.js

js/strings

  • js/strings/escaped.js
  • js/strings/multiline-literal.js
  • js/strings/non-octal-eight-and-nine.js
  • js/strings/strings.js
  • js/strings/template-literals.js

js/switch

  • js/switch/comments.js
  • js/switch/comments2.js

js/template

  • js/template/call.js
  • js/template/comment.js
  • js/template/faulty-locations.js
  • js/template/graphql.js
  • js/template/indent.js
  • js/template/inline.js
  • js/template/parenthesis.js

js/template-align

  • js/template-align/indent.js

js/template-literals

  • js/template-literals/binary-exporessions.js
  • js/template-literals/conditional-expressions.js
  • js/template-literals/expressions.js
  • js/template-literals/indention.js
  • js/template-literals/logical-expressions.js
  • js/template-literals/sequence-expressions.js

js/ternaries

  • js/ternaries/binary.js
  • js/ternaries/func-call.js
  • js/ternaries/indent-after-paren.js
  • js/ternaries/indent.js
  • js/ternaries/nested-in-condition.js
  • js/ternaries/nested.js
  • js/ternaries/parenthesis.js
  • js/ternaries/test.js

js/ternaries/parenthesis

  • js/ternaries/parenthesis/await-expression.js

js/test-declarations

  • js/test-declarations/angular_async.js
  • js/test-declarations/angular_fakeAsync.js
  • js/test-declarations/angular_waitForAsync.js
  • js/test-declarations/angularjs_inject.js
  • js/test-declarations/jest-each-template-string.js
  • js/test-declarations/jest-each.js
  • js/test-declarations/test_declarations.js

js/throw_statement

  • js/throw_statement/binaryish.js
  • js/throw_statement/comment.js

js/trailing-comma

  • js/trailing-comma/es5.js
  • js/trailing-comma/function-calls.js
  • js/trailing-comma/jsx.js
  • js/trailing-comma/trailing_whitespace.js

js/try

  • js/try/catch.js
  • js/try/try.js

js/unary

  • js/unary/object.js

js/unary-expression

  • js/unary-expression/comments.js

js/unicode

  • js/unicode/combining-characters.js
  • js/unicode/nbsp-jsx.js

js/yield

  • js/yield/jsx-without-parenthesis.js
  • js/yield/jsx.js

jsx/attr-element

  • jsx/attr-element/attr-element.js

jsx/binary-expressions

  • jsx/binary-expressions/relational-operators.js

jsx/comments

  • jsx/comments/eslint-disable.js
  • jsx/comments/in-attributes.js
  • jsx/comments/in-end-tag.js
  • jsx/comments/in-tags.js
  • jsx/comments/jsx-tag-comment-after-prop.js
  • jsx/comments/like-a-comment-in-jsx-text.js

jsx/deprecated-jsx-bracket-same-line-option

  • jsx/deprecated-jsx-bracket-same-line-option/jsx.js

jsx/embed

  • jsx/embed/css-embed.js

jsx/escape

  • jsx/escape/nbsp.js

jsx/expression-with-types

  • jsx/expression-with-types/expression.js

jsx/fbt

  • jsx/fbt/test.js

jsx/fragment

  • jsx/fragment/fragment.js

jsx/ignore

  • jsx/ignore/jsx_ignore.js

jsx/jsx

  • jsx/jsx/array-iter.js
  • jsx/jsx/arrow.js
  • jsx/jsx/attr-comments.js
  • jsx/jsx/await.js
  • jsx/jsx/conditional-expression.js
  • jsx/jsx/expression.js
  • jsx/jsx/flow_fix_me.js
  • jsx/jsx/html_escape.js
  • jsx/jsx/hug.js
  • jsx/jsx/logical-expression.js
  • jsx/jsx/object-property.js
  • jsx/jsx/open-break.js
  • jsx/jsx/parens.js
  • jsx/jsx/quotes.js
  • jsx/jsx/regex.js
  • jsx/jsx/return-statement.js
  • jsx/jsx/self-closing.js
  • jsx/jsx/spacing.js
  • jsx/jsx/template-literal-in-attr.js
  • jsx/jsx/ternary.js

jsx/last-line

  • jsx/last-line/last_line.js
  • jsx/last-line/single_prop_multiline_string.js

jsx/multiline-assign

  • jsx/multiline-assign/test.js

jsx/newlines

  • jsx/newlines/test.js
  • jsx/newlines/windows.js

jsx/optional-chaining

  • jsx/optional-chaining/optional-chaining.jsx

jsx/significant-space

  • jsx/significant-space/comments.js
  • jsx/significant-space/test.js

jsx/single-attribute-per-line

  • jsx/single-attribute-per-line/single-attribute-per-line.js

jsx/split-attrs

  • jsx/split-attrs/test.js

jsx/spread

  • jsx/spread/attribute.js
  • jsx/spread/child.js

jsx/stateless-arrow-fn

  • jsx/stateless-arrow-fn/test.js

jsx/text-wrap

  • jsx/text-wrap/test.js