repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/cursor/after-last-jsx-text.js
tests/format/jsx/cursor/after-last-jsx-text.js
<>a <div> hi </div> b <|></>
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/cursor/format.test.js
tests/format/jsx/cursor/format.test.js
runFormatTest(import.meta, ["babel", "typescript", "flow"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/namespace/jsx_namespaced_name.js
tests/format/jsx/namespace/jsx_namespaced_name.js
<jsx:namespacedname />; <jsx:namespacedname>1</jsx:namespacedname>;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/namespace/format.test.js
tests/format/jsx/namespace/format.test.js
runFormatTest(import.meta, ["flow", "babel"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/binary-expressions/relational-operators.js
tests/format/jsx/binary-expressions/relational-operators.js
(<div />) < 5; <div /> > 5; (<div></div>) < 5; <div></div> > 5; <div /> <= 5; <div /> >= 5; <div></div> <= 5; <div></div> >= 5; (<div />) < <div />; <div /> > <div />; (<div></div>) < <div></div>; <div></div> > <div></div>; <div /> <= <div />; <div /> >= <div />; <div></div> <= <div></div>; <div></div> >= <div></div...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/binary-expressions/format.test.js
tests/format/jsx/binary-expressions/format.test.js
runFormatTest(import.meta, ["babel", "typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/parentheses/argument.js
tests/format/jsx/parentheses/argument.js
new A( <div> <div></div> </div> ) A( <div> <div></div> </div> ) new A( <> <div></div> </> ) A( <> <div></div> </> )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/parentheses/format.test.js
tests/format/jsx/parentheses/format.test.js
runFormatTest(import.meta, [ "babel", "babel-flow", "babel-ts", "__babel_estree", "typescript", "flow", "meriyah", "acorn", "espree", "espree", "hermes", "oxc", "oxc-ts", ]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/multiline-assign/test.js
tests/format/jsx/multiline-assign/test.js
const comp1 = ( <div style={styles} key="something"> Keep the wrapping parens. </div> ); const comp2 = <div style={styles} key="something"> Create wrapping parens. </div>; comp2A = <div style={styles} key="something"> Create wrapping parens. </div>; const comp3 = <div style={styles} key="something">Bump ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/multiline-assign/format.test.js
tests/format/jsx/multiline-assign/format.test.js
runFormatTest(import.meta, ["flow", "typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/object-property.js
tests/format/jsx/jsx/object-property.js
const tabs = [ { title: "General Info", content: ( <GeneralForm long-attribute="i-need-long-value-here" onSave={ onSave } onCancel={ onCancel } countries={ countries } /> ) } ];
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/attr-comments.js
tests/format/jsx/jsx/attr-comments.js
<Component propFn={ // comment function(arg) { fn(arg); } } propArrowFn={ // comment arg => fn(arg) } propArrowWithBreak={ // comment arg => fn({ makeItBreak }) } propArray={ // comment [el1, el2] } propObj={ // comment { key: val }...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/expression.js
tests/format/jsx/jsx/expression.js
<View style={ { someVeryLongStyle1: "true", someVeryLongStyle2: "true", someVeryLongStyle3: "true", someVeryLongStyle4: "true" } } />; <View style={ [ { someVeryLongStyle1: "true", someVeryLongStyle2: "true", someVeryLongStyle3: "true", so...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/logical-expression.js
tests/format/jsx/jsx/logical-expression.js
<div> {a || "b"} </div>; <div> {a && "b"} </div>; <div> {a || <span></span>} </div>; <div> {a && <span></span>} </div>; <div> {a && <span>make this text just so long enough to break this to the next line</span>} </div>; <div> {a && b && <span>make this text just so long enough to break this to the next...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/quotes.js
tests/format/jsx/jsx/quotes.js
<div id="&quot;'<>&amp;quot;" />; <div id='"&#39;<>&amp;quot;' />; <div id={'\'"&quot;<>&amp;quot;'} />; <div id='123' />; <div id='&#39;&quot;' />; <div id={'\'\"\\\''} />; <div single='foo' single2={'foo'} double="bar" double2={"bar"} singleDouble='"' singleDouble2={'"'} doubleSingle="'" doubleSing...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/hug.js
tests/format/jsx/jsx/hug.js
<div> {__DEV__ ? this.renderDevApp() : <div> {routes.map(route => ( <MatchAsync key={`${route.to}-async`} pattern={route.to} exactly={route.to === "/"} getComponent={routeES6Modules[route.value]} /> ))} </div>} </div>; <div> {__DEV__ &...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/open-break.js
tests/format/jsx/jsx/open-break.js
<td onClick={() => { a }}>{header}{showSort}</td>; <td onClick={() => { a }}>{header}<showSort attr="long long long long long long long long long long long"/></td>; <Foo>{` a very long text that does not break `}</Foo>;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/template-literal-in-attr.js
tests/format/jsx/jsx/template-literal-in-attr.js
<div> <div> <div className="js-structured-feedback js-trigger-feedback-negative-reasons item-feedback-button" data-feedback-tags-url={`/xhr/negative-feedback-tags/${this.props.item.id}`} >foo</div> </div> </div>
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/array-iter.js
tests/format/jsx/jsx/array-iter.js
const UsersList = ({ users }) => ( <section> <h2>Users list</h2> <ul> {users.map(user => ( <li key={user.id}>{user.name}</li> ))} </ul> </section> ) const TodoList = ({ todos }) => ( <div className="TodoList"> <ul>{_.map(todos, (todo, i) => <TodoItem key={i} {...todo} />)}</ul...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/await.js
tests/format/jsx/jsx/await.js
async function testFunction() { const short = <> {await Promise.all( hierarchyCriticism )} {await hierarchyCriticism.ic.me.oa.p} {await hierarchyCriticism} {Promise.all( hierarchyCriticism )} {hierarchyCriticism.ic.me.oa.p} {hierarchyCriticism} </> const long = <> ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/return-statement.js
tests/format/jsx/jsx/return-statement.js
const NonBreakingArrowExpression = () => <div />; const BreakingArrowExpression = () => <div> <div> bla bla bla </div> </div>; const NonBreakingArrowExpressionWBody = () => { return ( <div /> ); }; const BreakingArrowExpressionWBody = () => { return <div> <div> bla bla bla </div> </...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/parens.js
tests/format/jsx/jsx/parens.js
a = [ <path key='0' d='M13.6,10.6l,4-2.8L9.5,M13.6,10.6l,4-2.8L9.5,M13.6,10.6l,4-2.8L9.5,M13.6,10.6l,4-2.8L9.5,M13.6,10.6l,4-2.8L9.5,M13.6,10.6l,4-2.8L9.5,' />, <path key='1' d='M13.6,10.6l,4-2.8L9.5,M13.6,10.6l,4-2.8L9.5,M13.6,10.6l,4-2.8L9.5,M13.6,10.6l,4-2.8L9.5,M13.6,10.6l,4-2.8L9.5,M13.6,10.6...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/spacing.js
tests/format/jsx/jsx/spacing.js
const Labels = { label1: ( <fbt> Label 1 </fbt> ), label2: ( <fbt> Label 2 </fbt> ), label3: ( <fbt> Label 3 </fbt> ), };
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/arrow.js
tests/format/jsx/jsx/arrow.js
() => <Component><Children/></Component>; () => () => <Component><Children/></Component>; () => () => () => <Component><Children/></Component>; () => <div>Some text here</div>; () => () => <div>Some text here</div>; () => () => () => <div>Some text here</div>; () => <div>Long long long long long, very very long text....
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/html_escape.js
tests/format/jsx/jsx/html_escape.js
export default () => <a href="https://foo.bar?q1=foo&q2=bar" />; () => <img src="https://bar.foo?param1=1&param2=2" />;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/self-closing.js
tests/format/jsx/jsx/self-closing.js
<Foo></Foo>; <Bar />;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/regex.js
tests/format/jsx/jsx/regex.js
x = <div>one</div>, <div>two</div>; x = <a>{}</a> x = <a>{1/2}</a> x = <a>{/w/.test(s)}</a>
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/conditional-expression.js
tests/format/jsx/jsx/conditional-expression.js
// There are two ways to print ConditionalExpressions: "normal mode" and // "JSX mode". This is normal mode (when breaking): // // test // ? consequent // : alternate; // // And this is JSX mode (when breaking): // // test ? ( // consequent // ) : ( // alternate // ); // // When non-breaking, th...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/flow_fix_me.js
tests/format/jsx/jsx/flow_fix_me.js
const aDiv = ( /* $FlowFixMe */ <div className="foo"> Foo bar </div> );
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/format.test.js
tests/format/jsx/jsx/format.test.js
runFormatTest(import.meta, ["flow", "babel", "typescript"], { singleQuote: false, jsxSingleQuote: false, }); runFormatTest(import.meta, ["flow", "babel", "typescript"], { singleQuote: false, jsxSingleQuote: true, }); runFormatTest(import.meta, ["flow", "babel", "typescript"], { singleQuote: true, jsxSingleQ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/jsx/ternary.js
tests/format/jsx/jsx/ternary.js
a == 3 ? (a = <h1>123</h1>) : (a = <h1>abc</h1>);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/ignore/spread.js
tests/format/jsx/ignore/spread.js
// #8736 function HelloWorld() { return ( <div {...{} /* // @ts-ignore */ /* prettier-ignore */} invalidProp="HelloWorld" > test </div> ); } a = <div {.../* prettier-ignore */b}/> a = <div {...b/* prettier-ignore */}/> a = <div {.../* prettier-ignore */{}}/> a = <div {...{/* pr...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/ignore/jsx_ignore.js
tests/format/jsx/ignore/jsx_ignore.js
// this should remain as-is <div> {/* prettier-ignore */} <style jsx global>{ComponentStyles}</style> </div>; // this should remain as-is <div> {/* prettier-ignore */} <span ugly format='' /> </div>; // this should remain as-is f( <Component> {/*prettier-ignore*/} <span ugly format='' /> ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/ignore/format.test.js
tests/format/jsx/ignore/format.test.js
runFormatTest(import.meta, [ "babel", "babel-flow", "babel-ts", "__babel_estree", "typescript", "flow", "meriyah", "acorn", "espree", "espree", "hermes", "oxc", "oxc-ts", ]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/stateless-arrow-fn/test.js
tests/format/jsx/stateless-arrow-fn/test.js
const render1 = ({ styles }) => ( <div style={styles} key="something"> Keep the wrapping parens. Put each key on its own line. </div> ); const render2 = ({ styles }) => <div style={styles} key="something"> Create wrapping parens. </div>; const render3 = ({ styles }) => <div style={styles} key="something">Cr...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/stateless-arrow-fn/format.test.js
tests/format/jsx/stateless-arrow-fn/format.test.js
runFormatTest(import.meta, ["flow", "typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/last-line/last_line.js
tests/format/jsx/last-line/last_line.js
<SomeHighlyConfiguredComponent onEnter={this.onEnter} onLeave={this.onLeave} onChange={this.onChange} initialValue={this.state.initialValue} ignoreStuff={true} > <div>and the children go here</div> <div>and here too</div> </SomeHighlyConfiguredComponent>
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/last-line/single_prop_multiline_string.js
tests/format/jsx/last-line/single_prop_multiline_string.js
<path d="M4.765 16.829l3.069-2.946 5.813 5.748 11.33-11.232 3.006 3.18-14.36 14.080z" />; <Component text="Text with newlines">Content</Component>;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/last-line/format.test.js
tests/format/jsx/last-line/format.test.js
runFormatTest(import.meta, ["flow", "typescript"], { bracketSameLine: true }); runFormatTest(import.meta, ["flow", "typescript"], { bracketSameLine: false });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/text-wrap/test.js
tests/format/jsx/text-wrap/test.js
// Wrapping text x = <div> Some text that would need to wrap on to a new line in order to display correctly and nicely </div> // Wrapping tags x = <div> <first>f</first> <first>f</first> <first>f</first> <first>f</first> <first>f</first> <first>f</first> </div> // Wrapping tags x = <div> <first>...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/text-wrap/issue-16897.js
tests/format/jsx/text-wrap/issue-16897.js
function HelloWorld( ) { return ( <div> <div> foo <br /> bar{' '} <span className="font-semibold"> foobar foobar foobar foobar 12345 </span>, foobar foobar foobar </div> </div> ) }
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/text-wrap/format.test.js
tests/format/jsx/text-wrap/format.test.js
runFormatTest(import.meta, ["flow", "typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/split-attrs/test.js
tests/format/jsx/split-attrs/test.js
long_closed = <BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"/> long_open = <BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"> hello </BaseForm> long_open_long_children = <BaseForm url="/auth/google...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/split-attrs/format.test.js
tests/format/jsx/split-attrs/format.test.js
runFormatTest(import.meta, ["flow", "babel", "typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/expression-with-types/expression.js
tests/format/jsx/expression-with-types/expression.js
<Component onChange={( key: "possible_key_1" | "possible_key_2" | "possible_key_3", value: string | Immutable.List<string>, ) => { this.setState({ updatedTask: this.state.updatedTask.set(key, value) }); }} />; <Component> {( key: "possible_key_1" | "possible_key_2" | "possible_key_3",...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/expression-with-types/format.test.js
tests/format/jsx/expression-with-types/format.test.js
runFormatTest(import.meta, ["flow", "typescript"], { singleQuote: false, jsxSingleQuote: false, }); runFormatTest(import.meta, ["flow", "typescript"], { singleQuote: false, jsxSingleQuote: true, }); runFormatTest(import.meta, ["flow", "typescript"], { singleQuote: true, jsxSingleQuote: false, }); runFormatT...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/comments/eslint-disable.js
tests/format/jsx/comments/eslint-disable.js
const render = items => ( <div>{ /* eslint-disable */ items.map(item => null) /* eslint-enable */ }</div> )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/comments/in-tags.js
tests/format/jsx/comments/in-tags.js
<div // comment > {foo} </div>; <div // comment attr="foo" > {foo} </div>; <div attr="foo" // comment > {foo} </div>; <div attr="foo" // comment > {foo} </div>; <br // comment />;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/comments/jsx-tag-comment-after-prop.js
tests/format/jsx/comments/jsx-tag-comment-after-prop.js
// https://github.com/typescript-eslint/typescript-eslint/pull/703 const pure = () => { return ( <Foo // one foo={123} // two bar="woof" /> ); }
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/comments/in-attributes.js
tests/format/jsx/comments/in-attributes.js
<div attr=/* comment */"foo" ></div>; <div attr= /* comment */ "foo" ></div>; <div attr= /* comment */ "foo" ></div>; <div attr= /* comment */ "foo" ></div>; <div attr= // comment "foo" ></div>; <div attr= // comment "foo" ></div>;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/comments/like-a-comment-in-jsx-text.js
tests/format/jsx/comments/like-a-comment-in-jsx-text.js
<Foo > text // comment text </Foo>
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/comments/format.test.js
tests/format/jsx/comments/format.test.js
runFormatTest(import.meta, ["flow", "babel", "typescript"], { bracketSameLine: true, errors: { typescript: ["in-end-tag.js"], }, });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/comments/in-end-tag.js
tests/format/jsx/comments/in-end-tag.js
/* =========== before slash =========== */ <a><// line /a>; <a></* block */ /a>; <><// line />; <></* block */ />; /* =========== after slash =========== */ <a></ // line a>; <a></ /* block */ a>; <></ // line >; <></ /* block */ >; /* =========== after name =========== */ <a></a // line >; <a></a /* block */ >; ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/single-attribute-per-line/single-attribute-per-line.js
tests/format/jsx/single-attribute-per-line/single-attribute-per-line.js
import React from "react"; const Component = () => ( <div> <div data-a="1"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </div> <div data-a="1" data-b="2" data-c="3"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </div> <div data-a="Lorem ipsum dolor sit amet"...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/single-attribute-per-line/format.test.js
tests/format/jsx/single-attribute-per-line/format.test.js
runFormatTest(import.meta, ["flow", "babel", "typescript"]); runFormatTest(import.meta, ["flow", "babel", "typescript"], { singleAttributePerLine: true, });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/embed/css-embed.js
tests/format/jsx/embed/css-embed.js
<style {...spread}>{`.{}`}</style>;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/embed/format.test.js
tests/format/jsx/embed/format.test.js
runFormatTest(import.meta, ["flow", "babel"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/template/styled-components.js
tests/format/jsx/template/styled-components.js
<style jsx>{` p { color: red; } `}</style>; <style jsx>{tpl` p { color: red; } `}</style>; <style jsx> {`p { color: red; } `} </style>; // #5886 <style jsx>{` .class { flex-direction: column${long_cond && long_cond && long_cond ? "-reverse" : ""}; } `}</style>; <...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/template/format.test.js
tests/format/jsx/template/format.test.js
runFormatTest(import.meta, ["babel", "typescript", "flow"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/fbt/test.js
tests/format/jsx/fbt/test.js
x = <fbt> <fbt:param> First </fbt:param>, <fbt:param> Second </fbt:param> </fbt> x = <fbt> <fbt:param> First </fbt:param> , <fbt:param> Second </fbt:param> </fbt> x = <fbt> <fbt:param>First</fbt:param>,<fbt:param>Second</fbt:param> </fbt> x ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/fbt/format.test.js
tests/format/jsx/fbt/format.test.js
runFormatTest(import.meta, ["flow"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/deprecated-jsx-bracket-same-line-option/jsx.js
tests/format/jsx/deprecated-jsx-bracket-same-line-option/jsx.js
<SomeHighlyConfiguredComponent onEnter={this.onEnter} onLeave={this.onLeave} onChange={this.onChange} initialValue={this.state.initialValue} ignoreStuff={true} > <div>and the children go here</div> <div>and here too</div> </SomeHighlyConfiguredComponent>
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/deprecated-jsx-bracket-same-line-option/format.test.js
tests/format/jsx/deprecated-jsx-bracket-same-line-option/format.test.js
runFormatTest(import.meta, ["babel", "flow", "typescript"], { jsxBracketSameLine: true, }); runFormatTest(import.meta, ["babel", "flow", "typescript"], { jsxBracketSameLine: false, }); runFormatTest(import.meta, ["babel", "flow", "typescript"], { jsxBracketSameLine: false, bracketSameLine: true, }); runFormatTe...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/optional-chaining/optional-chaining.jsx
tests/format/jsx/optional-chaining/optional-chaining.jsx
function foo() { // https://github.com/marmelab/react-admin/blob/5ae855aa958ba54438b144bf0907b1437c5a5d77/examples/demo/src/orders/Totals.tsx#L38-L43 return ( <TableCell className={classes.rightAlignedCell}> {record?.delivery_fees.toLocaleString(undefined, { style: 'currency', ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/optional-chaining/format.test.js
tests/format/jsx/optional-chaining/format.test.js
runFormatTest(import.meta, ["flow", "babel", "typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/spread/attribute.js
tests/format/jsx/spread/attribute.js
<div {...a}/>; <div {...(a || {})} />; <div {...(cond ? foo : bar)} />; <div {...a /* comment */}/>; <div {/* comment */...a}/>; <div {...a //comment }/>; <div {...a //comment }/>; <div { //comment ...a }/>; <div {//comment ...a // comment }/>;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/spread/child.js
tests/format/jsx/spread/child.js
<div>{...a}</div>; <div>{...a /* comment */}</div>; <div>{/* comment */...a}</div>; <div>{...a //comment }</div>; <div>{...a //comment }</div>; <div>{ //comment ...a }</div>; <div>{//comment ...a // comment }</div>;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/spread/format.test.js
tests/format/jsx/spread/format.test.js
runFormatTest(import.meta, ["babel", "flow", "typescript"], { errors: { acorn: ["child.js"], espree: ["child.js"], }, });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/do/do.js
tests/format/jsx/do/do.js
<div> {do { 1 }} </div>
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/jsx/do/format.test.js
tests/format/jsx/do/format.test.js
runFormatTest(import.meta, ["babel"], { errors: { acorn: ["do.js"], espree: ["do.js"], meriyah: ["do.js"], oxc: ["do.js"], "oxc-ts": ["do.js"], }, });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/mdx/mdx/format.test.js
tests/format/mdx/mdx/format.test.js
runFormatTest(import.meta, ["mdx"]); runFormatTest(import.meta, ["mdx"], { semi: false });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/mdx/import-export/format.test.js
tests/format/mdx/import-export/format.test.js
runFormatTest( { importMeta: import.meta, snippets: ["import is a word"], }, ["mdx"], );
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/mdx/embedded-language-formatting/format.test.js
tests/format/mdx/embedded-language-formatting/format.test.js
runFormatTest(import.meta, ["mdx"], { embeddedLanguageFormatting: "off" });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/json-test-suite/format.test.js
tests/format/json/json-test-suite/format.test.js
import { parsing, transform } from "json-test-suite"; const SKIP = new Set([ // Prettier doesn't support other encodings than utf8 "i_string_utf16BE_no_BOM.json", "i_string_utf16LE_no_BOM.json", "i_string_UTF-16LE_with_BOM.json", // RangeError: Maximum call stack size exceeded "i_structure_500_nested_arra...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/jsonc/empty/format.test.js
tests/format/json/jsonc/empty/format.test.js
import { outdent } from "outdent"; runFormatTest( { importMeta: import.meta, snippets: [ // "// Only line comment", // "/* Only block comment */", outdent` // Line comment 1 /** Block comment 1 */ // Line comment 2 /** Block comment 3 */ `...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/jsonc/quote-props/format.test.js
tests/format/json/jsonc/quote-props/format.test.js
runFormatTest(import.meta, ["jsonc"], { quoteProps: "as-needed" }); runFormatTest(import.meta, ["jsonc"], { quoteProps: "consistent" }); runFormatTest(import.meta, ["jsonc"], { quoteProps: "preserve" });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/jsonc/single-quote/format.test.js
tests/format/json/jsonc/single-quote/format.test.js
runFormatTest(import.meta, ["jsonc"], { singleQuote: true }); runFormatTest(import.meta, ["jsonc"], { singleQuote: false });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/jsonc/trialing-comma/format.test.js
tests/format/json/jsonc/trialing-comma/format.test.js
runFormatTest(import.meta, ["jsonc"], { trailingComma: "none" }); runFormatTest(import.meta, ["jsonc"], { trailingComma: "es5" }); runFormatTest(import.meta, ["jsonc"], { trailingComma: "all" });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/range/format.test.js
tests/format/json/range/format.test.js
runFormatTest(import.meta, ["json"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/range/json5/format.test.js
tests/format/json/range/json5/format.test.js
runFormatTest(import.meta, ["json5"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/range/jsonc/format.test.js
tests/format/json/range/jsonc/format.test.js
runFormatTest(import.meta, ["jsonc"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/range/json-stringify/format.test.js
tests/format/json/range/json-stringify/format.test.js
runFormatTest(import.meta, ["json-stringify"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/json5-as-json-with-trailing-commas/format.test.js
tests/format/json/json5-as-json-with-trailing-commas/format.test.js
runFormatTest(import.meta, ["json5"], { quoteProps: "preserve" });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/json/format.test.js
tests/format/json/json/format.test.js
runFormatTest(import.meta, ["json"], { objectWrap: "collapse" }); runFormatTest(import.meta, ["json"], { trailingComma: "es5" }); runFormatTest(import.meta, ["json"], { trailingComma: "all" }); runFormatTest(import.meta, ["json5"], { trailingComma: "es5" }); runFormatTest(import.meta, ["json5"], { trailingComma: "all" ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/with-comment/format.test.js
tests/format/json/with-comment/format.test.js
runFormatTest(import.meta, ["json"], { trailingComma: "es5" }); runFormatTest(import.meta, ["json"], { trailingComma: "all" }); runFormatTest(import.meta, ["json5"], { trailingComma: "es5" }); runFormatTest(import.meta, ["json5"], { trailingComma: "all" }); runFormatTest(import.meta, ["jsonc"], { trailingComma: "es5" }...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/json/json-superset/format.test.js
tests/format/json/json-superset/format.test.js
const LINE_SEPARATOR = "\u2028"; const PARAGRAPH_SEPARATOR = "\u2029"; const SPACE = " "; const LINE_FEED = "\n"; const UNDERSCORE = "_"; const BACKSLASH = "\\"; const SINGLE_QUOTE = "'"; const DOUBLE_QUOTE = '"'; const characters = [LINE_SEPARATOR, PARAGRAPH_SEPARATOR, UNDERSCORE, SPACE]; const characterCode = (chara...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/whitespace/format.test.js
tests/format/handlebars/whitespace/format.test.js
runFormatTest(import.meta, ["glimmer"], { printWidth: 40 });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/mustache-statement/format.test.js
tests/format/handlebars/mustache-statement/format.test.js
runFormatTest(import.meta, ["glimmer"]); runFormatTest(import.meta, ["glimmer"], { singleQuote: true });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/path-expressions/format.test.js
tests/format/handlebars/path-expressions/format.test.js
runFormatTest(import.meta, ["glimmer"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/escape/format.test.js
tests/format/handlebars/escape/format.test.js
runFormatTest(import.meta, ["glimmer"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/front-matter/format.test.js
tests/format/handlebars/front-matter/format.test.js
runFormatTest(import.meta, ["glimmer"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/front-matter/embedded-language-formatting-off/format.test.js
tests/format/handlebars/front-matter/embedded-language-formatting-off/format.test.js
runFormatTest(import.meta, ["glimmer"], { embeddedLanguageFormatting: "off" });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/front-matter/toml/format.test.js
tests/format/handlebars/front-matter/toml/format.test.js
import prettierPluginDummyToml from "../../../../config/prettier-plugins/prettier-plugin-dummy-toml/index.js"; runFormatTest(import.meta, ["glimmer"], { plugins: [prettierPluginDummyToml] });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/style-tag/format.test.js
tests/format/handlebars/style-tag/format.test.js
runFormatTest(import.meta, ["glimmer"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/style-tag/html-whitespace-sensitivity-ignore/format.test.js
tests/format/handlebars/style-tag/html-whitespace-sensitivity-ignore/format.test.js
runFormatTest(import.meta, ["glimmer"], {}); runFormatTest(import.meta, ["glimmer"], { embeddedLanguageFormatting: "off", }); runFormatTest(import.meta, ["glimmer"], { htmlWhitespaceSensitivity: "ignore", }); runFormatTest(import.meta, ["glimmer"], { htmlWhitespaceSensitivity: "ignore", embeddedLanguageFormatti...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/style-tag/embedded-language-formatting-off/format.test.js
tests/format/handlebars/style-tag/embedded-language-formatting-off/format.test.js
runFormatTest(import.meta, ["glimmer"], { embeddedLanguageFormatting: "off" });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/prettier-ignore/format.test.js
tests/format/handlebars/prettier-ignore/format.test.js
runFormatTest(import.meta, ["glimmer"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/comment/format.test.js
tests/format/handlebars/comment/format.test.js
runFormatTest(import.meta, ["glimmer"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/block-param/format.test.js
tests/format/handlebars/block-param/format.test.js
runFormatTest(import.meta, ["glimmer"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/handlebars/last-line/format.test.js
tests/format/handlebars/last-line/format.test.js
runFormatTest(import.meta, ["glimmer"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false