--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: js/module/arrow/arrow-comments.js --- # Input ```js // array (action) => // eslint-disable-next-line react/no-array-index-key [
  • ]; // function body (action) => // eslint-disable-next-line react/no-array-index-key { return
  • ; } // object expression (action) => // eslint-disable-next-line react/no-array-index-key ({ a: 10 }); (action) => /* comment */ ` ${test} multiline`; ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Indent width: 2 Line ending: LF Line width: 80 Quote style: Double Quotes JSX quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always Arrow parentheses: Always Bracket spacing: true Bracket same line: false Attribute Position: Auto ----- ```js // array (action) => // eslint-disable-next-line react/no-array-index-key [
  • ]; // function body (action) => // eslint-disable-next-line react/no-array-index-key { return
  • ; }; // object expression (action) => // eslint-disable-next-line react/no-array-index-key ({ a: 10 }); (action) => /* comment */ ` ${test} multiline`; ``` ## Output 2 ----- Indent style: Tab Indent width: 2 Line ending: LF Line width: 80 Quote style: Double Quotes JSX quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always Arrow parentheses: As needed Bracket spacing: true Bracket same line: false Attribute Position: Auto ----- ```js // array action => // eslint-disable-next-line react/no-array-index-key [
  • ]; // function body action => // eslint-disable-next-line react/no-array-index-key { return
  • ; }; // object expression action => // eslint-disable-next-line react/no-array-index-key ({ a: 10 }); action => /* comment */ ` ${test} multiline`; ```