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/stylefmt-repo/media-indent/format.test.js
tests/format/stylefmt-repo/media-indent/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/font-face/format.test.js
tests/format/stylefmt-repo/font-face/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/lowercase/format.test.js
tests/format/stylefmt-repo/lowercase/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/at-apply/format.test.js
tests/format/stylefmt-repo/at-apply/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/color-hex-lowercase/format.test.js
tests/format/stylefmt-repo/color-hex-lowercase/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/at-media/format.test.js
tests/format/stylefmt-repo/at-media/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/attr-selector/format.test.js
tests/format/stylefmt-repo/attr-selector/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/charset-2/format.test.js
tests/format/stylefmt-repo/charset-2/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/font-shorthand/format.test.js
tests/format/stylefmt-repo/font-shorthand/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/nested/format.test.js
tests/format/stylefmt-repo/nested/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/ie-hacks/format.test.js
tests/format/stylefmt-repo/ie-hacks/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/comment/format.test.js
tests/format/stylefmt-repo/comment/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/important/format.test.js
tests/format/stylefmt-repo/important/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/var-notation/format.test.js
tests/format/stylefmt-repo/var-notation/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/nested-indention-2/format.test.js
tests/format/stylefmt-repo/nested-indention-2/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/nested-mixin-2/format.test.js
tests/format/stylefmt-repo/nested-mixin-2/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/pseudo-element/format.test.js
tests/format/stylefmt-repo/pseudo-element/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/media-indent-with-import/format.test.js
tests/format/stylefmt-repo/media-indent-with-import/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/custom-properties/format.test.js
tests/format/stylefmt-repo/custom-properties/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/readme/format.test.js
tests/format/stylefmt-repo/readme/format.test.js
runFormatTest(import.meta, ["scss"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/data-url/format.test.js
tests/format/stylefmt-repo/data-url/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/custom-selectors/format.test.js
tests/format/stylefmt-repo/custom-selectors/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/nested-indention/format.test.js
tests/format/stylefmt-repo/nested-indention/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/nested-mixin/format.test.js
tests/format/stylefmt-repo/nested-mixin/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/shorthand-with-sass-variables/format.test.js
tests/format/stylefmt-repo/shorthand-with-sass-variables/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/inline-comment/format.test.js
tests/format/stylefmt-repo/inline-comment/format.test.js
runFormatTest(import.meta, ["scss"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/custom-media-queries/format.test.js
tests/format/stylefmt-repo/custom-media-queries/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/import/format.test.js
tests/format/stylefmt-repo/import/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/cssnext-example/format.test.js
tests/format/stylefmt-repo/cssnext-example/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/vendor-prefix/format.test.js
tests/format/stylefmt-repo/vendor-prefix/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/stylefmt-repo/values/format.test.js
tests/format/stylefmt-repo/values/format.test.js
runFormatTest(import.meta, ["css"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/empty/format.test.js
tests/format/less/empty/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/parens/format.test.js
tests/format/less/parens/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/case/format.test.js
tests/format/less/case/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/variables/format.test.js
tests/format/less/variables/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/lookup/format.test.js
tests/format/less/lookup/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/inline-javascript/format.test.js
tests/format/less/inline-javascript/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/no-semicolon/format.test.js
tests/format/less/no-semicolon/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/important/format.test.js
tests/format/less/important/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/postcss-8-improment/format.test.js
tests/format/less/postcss-8-improment/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/yaml/format.test.js
tests/format/less/yaml/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/custom-properties/format.test.js
tests/format/less/custom-properties/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/comments/format.test.js
tests/format/less/comments/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/function-selector/format.test.js
tests/format/less/function-selector/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/less/format.test.js
tests/format/less/less/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/less/interpolation/format.test.js
tests/format/less/interpolation/format.test.js
runFormatTest(import.meta, ["less"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/type-only-module-specifiers/format.test.js
tests/format/typescript/type-only-module-specifiers/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/optional-call/format.test.js
tests/format/typescript/optional-call/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/static-blocks/format.test.js
tests/format/typescript/static-blocks/format.test.js
runFormatTest(import.meta, ["typescript", "babel-ts"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/decorators/format.test.js
tests/format/typescript/decorators/format.test.js
runFormatTest(import.meta, ["typescript"], { errors: { typescript: ["abstract-method.ts"], "oxc-ts": ["abstract-method.ts"], "babel-ts": ["issue-9102.ts"], }, });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/tuple/format.test.js
tests/format/typescript/tuple/format.test.js
runFormatTest(import.meta, ["typescript"], { trailingComma: "none" }); runFormatTest(import.meta, ["typescript"], { trailingComma: "es5" }); runFormatTest(import.meta, ["typescript"], { trailingComma: "all" });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/custom/abstract/format.test.js
tests/format/typescript/custom/abstract/format.test.js
runFormatTest(import.meta, ["typescript"], { errors: { "babel-ts": ["abstractProperties.ts", "abstractPropertiesWithBreaks.ts"], }, });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/custom/new/format.test.js
tests/format/typescript/custom/new/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/custom/typeParameters/format.test.js
tests/format/typescript/custom/typeParameters/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/custom/call/format.test.js
tests/format/typescript/custom/call/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/custom/stability/format.test.js
tests/format/typescript/custom/stability/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/custom/modifiers/format.test.js
tests/format/typescript/custom/modifiers/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/custom/computedProperties/format.test.js
tests/format/typescript/custom/computedProperties/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/custom/module/format.test.js
tests/format/typescript/custom/module/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/custom/declare/format.test.js
tests/format/typescript/custom/declare/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/destructuring/format.test.js
tests/format/typescript/destructuring/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/cast/format.test.js
tests/format/typescript/cast/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/key-remapping-in-mapped-types/format.test.js
tests/format/typescript/key-remapping-in-mapped-types/format.test.js
runFormatTest(import.meta, ["babel-ts", "typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/angular-component-examples/format.test.js
tests/format/typescript/angular-component-examples/format.test.js
runFormatTest(import.meta, ["typescript"], { trailingComma: "none" }); runFormatTest(import.meta, ["typescript"], { trailingComma: "es5" });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/new/format.test.js
tests/format/typescript/new/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/optional-type/format.test.js
tests/format/typescript/optional-type/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/arrow/format.test.js
tests/format/typescript/arrow/format.test.js
runFormatTest(import.meta, ["typescript"]); runFormatTest(import.meta, ["typescript"], { semi: false });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/arrow/comments/format.test.js
tests/format/typescript/arrow/comments/format.test.js
runFormatTest(import.meta, ["typescript", "flow"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/explicit-resource-management/format.test.js
tests/format/typescript/explicit-resource-management/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/function-type/format.test.js
tests/format/typescript/function-type/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/webhost/format.test.js
tests/format/typescript/webhost/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/generic/format.test.js
tests/format/typescript/generic/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/bigint/format.test.js
tests/format/typescript/bigint/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/property-signature/consistent-with-flow/format.test.js
tests/format/typescript/property-signature/consistent-with-flow/format.test.js
runFormatTest(import.meta, ["typescript", "flow"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/d-ts-files/format.test.js
tests/format/typescript/d-ts-files/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/multiparser-css/format.test.js
tests/format/typescript/multiparser-css/format.test.js
runFormatTest(import.meta, ["typescript", "flow"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/call-signature/format.test.js
tests/format/typescript/call-signature/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/top-level-await/format.test.js
tests/format/typescript/top-level-await/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/cursor/format.test.js
tests/format/typescript/cursor/format.test.js
runFormatTest(import.meta, ["typescript", "flow"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/template-literal-types/format.test.js
tests/format/typescript/template-literal-types/format.test.js
runFormatTest(import.meta, ["babel-ts", "typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/namespace/format.test.js
tests/format/typescript/namespace/format.test.js
runFormatTest(import.meta, ["typescript"], { errors: { "babel-ts": true, "oxc-ts": true }, });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/break-calls/format.test.js
tests/format/typescript/break-calls/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/interface/format.test.js
tests/format/typescript/interface/format.test.js
runFormatTest(import.meta, ["typescript"], {}); runFormatTest(import.meta, ["typescript"], { semi: false, });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/interface/no-semi/format.test.js
tests/format/typescript/interface/no-semi/format.test.js
runFormatTest(import.meta, ["typescript"], { semi: false });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/interface/long-type-parameters/format.test.js
tests/format/typescript/interface/long-type-parameters/format.test.js
runFormatTest(import.meta, ["typescript"], { printWidth: 109 }); runFormatTest(import.meta, ["typescript"], { printWidth: 110 });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/edge-cases/format.test.js
tests/format/typescript/edge-cases/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/keyword-types/format.test.js
tests/format/typescript/keyword-types/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/tsx/format.test.js
tests/format/typescript/tsx/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/tsx/comma/format.test.js
tests/format/typescript/tsx/comma/format.test.js
const code = "const A = <T,>() => {}"; runFormatTest( { importMeta: import.meta, snippets: [ "test.js", "test.cjs", "test.mjs", "test.ts", "test.jsx", "test.mts", "test.cts", "test.tsx", "test.unknown", undefined, ].map((filename) => ({ code, fi...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/test-declarations/format.test.js
tests/format/typescript/test-declarations/format.test.js
runFormatTest(import.meta, ["typescript", "flow"]); runFormatTest(import.meta, ["typescript", "flow"], { arrowParens: "avoid", });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/no-semi/format.test.js
tests/format/typescript/no-semi/format.test.js
runFormatTest(import.meta, ["typescript"]); runFormatTest(import.meta, ["typescript"], { semi: false });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/quote-props/format.test.js
tests/format/typescript/quote-props/format.test.js
runFormatTest(import.meta, ["typescript"], { quoteProps: "as-needed", }); runFormatTest(import.meta, ["typescript"], { quoteProps: "preserve", }); runFormatTest(import.meta, ["typescript"], { quoteProps: "consistent", });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/readonly/format.test.js
tests/format/typescript/readonly/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/range/format.test.js
tests/format/typescript/range/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/template-literals/format.test.js
tests/format/typescript/template-literals/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/method-chain/format.test.js
tests/format/typescript/method-chain/format.test.js
runFormatTest(import.meta, ["typescript", "flow"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/method-chain/object/format.test.js
tests/format/typescript/method-chain/object/format.test.js
runFormatTest(import.meta, ["typescript", "flow"]); runFormatTest(import.meta, ["typescript", "flow"], { objectWrap: "collapse" });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/method-chain/18136-typescript/format.test.js
tests/format/typescript/method-chain/18136-typescript/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/chain-expression/format.test.js
tests/format/typescript/chain-expression/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/type-member-get-set/format.test.js
tests/format/typescript/type-member-get-set/format.test.js
runFormatTest(import.meta, ["typescript"]);
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false