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/integration/__tests__/plugin-cache.js
tests/integration/__tests__/plugin-cache.js
import prettier from "../../config/prettier-entry.js"; // #13235 test("Plugin instance should not cached", async () => { expect([ await prettier.format(".", { plugins: [ { parsers: { baz: { parse: () => ({}), astFormat: "baz-ast" } } }, { printers: { "baz-ast": { print: () => "1" } } }, ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/skip-folders.js
tests/integration/__tests__/skip-folders.js
describe("skips folders in glob", () => { runCli("cli/skip-folders", ["**/*", "-l"]).test({ status: 1, stderr: "", }); }); describe("skip folders passed specifically", () => { runCli("cli/skip-folders", ["a", "a/file.js", "b", "b/file.js", "-l"]).test({ status: 1, stderr: "", }); });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/error-on-unmatched-pattern.js
tests/integration/__tests__/error-on-unmatched-pattern.js
describe("no error on unmatched pattern", () => { runCli("cli/error-on-unmatched-pattern", [ "--no-error-on-unmatched-pattern", "**/*.js", ]).test({ status: 0, }); }); describe("error on unmatched pattern", () => { runCli("cli/error-on-unmatched-pattern", ["**/*.toml"]).test({ status: 2, }); ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/patterns.js
tests/integration/__tests__/patterns.js
describe("multiple patterns", () => { runCli("cli/patterns", [ "directory/**/*.js", "other-directory/**/*.js", "-l", ]).test({ status: 1, }); }); describe("multiple patterns with non exists pattern", () => { runCli("cli/patterns", ["directory/**/*.js", "non-existent.js", "-l"]).test({ statu...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/write.js
tests/integration/__tests__/write.js
describe("write file with --write + unformatted file", () => { runCli("cli/write", ["--write", "unformatted.js"]).test({ status: 0, }); }); describe("write file with -w + unformatted file", () => { runCli("cli/write", ["-w", "unformatted.js"]).test({ status: 0, }); }); describe("do not write file with...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/line-suffix-boundary.js
tests/integration/__tests__/line-suffix-boundary.js
import { outdent } from "outdent"; /** @type {import('prettier')} */ import prettier from "../../config/prettier-entry.js"; import printDoc from "../print-doc.js"; const { group, indent, line, lineSuffix, lineSuffixBoundary, softline } = prettier.doc.builders; describe("lineSuffixBoundary", () => { test("should b...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/doc-printer.js
tests/integration/__tests__/doc-printer.js
import prettier from "../../config/prettier-entry.js"; const { group, ifBreak } = prettier.doc.builders; const { printDocToString } = prettier.doc.printer; const docToString = (doc, options) => printDocToString(doc, { tabSize: 2, ...options }).formatted; // Extra group should not effect `ifBreak` inside test("`ifBre...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/plugin-default-options.js
tests/integration/__tests__/plugin-default-options.js
describe("plugin default options should work", () => { runCli( "plugins/defaultOptions", [ "--stdin-filepath", "example.foo", "--plugin=./plugin.cjs", "--no-editorconfig", ], { input: "hello-world" }, ).test({ stdout: JSON.stringify({ tabWidth: 8, bracketSpaci...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/plugin-name.js
tests/integration/__tests__/plugin-name.js
import url from "node:url"; import prettier from "../../config/prettier-entry.js"; const getOptions = async ({ name, plugin }) => { const { ast: options } = await prettier.__debug.parse("_", { plugins: [plugin], parser: name, }); return options; }; test("Plugins in options", async () => { const plugin...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/plugin-api-embed.js
tests/integration/__tests__/plugin-api-embed.js
import prettier from "../../config/prettier-entry.js"; const { doc: { builders: { hardline }, }, format, } = prettier; function makePlugin(withOutdatedApi = false) { return { parsers: { // parsers leak across tests, so the name needs to be unique [withOutdatedApi ? "baz-parser-outdated" : ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/resolve-config-file.js
tests/integration/__tests__/resolve-config-file.js
import url from "node:url"; import prettier from "../../config/prettier-entry.js"; test("API resolveConfigFile", async () => { const result = await prettier.resolveConfigFile(); expect(result).toEqual( url.fileURLToPath(new URL("../../../prettier.config.js", import.meta.url)), ); }); test("API resolveConfig...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/parser-api.js
tests/integration/__tests__/parser-api.js
import prettier from "../../config/prettier-entry.js"; const createParsePlugin = (name, parse) => ({ parsers: { [name]: { parse, astFormat: name } }, printers: { [name]: { print: () => "printed" } }, }); test("parsers should allow omit optional arguments", async () => { const originalText = "a\r\nb"; let pars...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/with-parser-inference.js
tests/integration/__tests__/with-parser-inference.js
import { outdent } from "outdent"; import prettier from "../../config/prettier-entry.js"; describe("infers postcss parser", () => { runCli("cli/with-parser-inference", ["--end-of-line", "lf", "*"]).test({ status: 0, }); }); describe("infers postcss parser with --check", () => { runCli("cli/with-parser-infer...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/special-characters-in-path.js
tests/integration/__tests__/special-characters-in-path.js
import jestPathSerializer from "../path-serializer.js"; expect.addSnapshotSerializer(jestPathSerializer); describe("ignores file name contains emoji", () => { runCli("cli/special-characters-in-path/ignore-emoji", ["**/*.js", "-l"]).test( { status: 1, }, ); }); describe("stdin", () => { runCli( ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/help-options.js
tests/integration/__tests__/help-options.js
import { getContextOptions } from "../../../src/cli/options/get-context-options.js"; const { detailedOptions } = await getContextOptions(); for (const option of detailedOptions) { const optionNames = [ option.description ? option.name : null, option.oppositeDescription ? `no-${option.name}` : null, ].filt...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/config-file-typescript.js
tests/integration/__tests__/config-file-typescript.js
import { outdent } from "outdent"; import jestPathSerializer from "../path-serializer.js"; expect.addSnapshotSerializer(jestPathSerializer); const NODE_TS_SUPPORT_FLAGS = ["--experimental-strip-types"]; const NODE_JS_MAJOR_VERSION = Number(process.versions.node.split(".")[0]); const getOutputTabWidth = (code) => c...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/infer-parser.js
tests/integration/__tests__/infer-parser.js
import url from "node:url"; import prettier from "../../config/prettier-entry.js"; import jestPathSerializer from "../path-serializer.js"; expect.addSnapshotSerializer(jestPathSerializer); describe("stdin no path and no parser", () => { describe("logs error and exits with 2", () => { runCli("cli/infer-parser/",...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/ignore-in-subdirectories.js
tests/integration/__tests__/ignore-in-subdirectories.js
describe("ignores files when executing in a subdirectory", () => { runCli("cli/ignore-in-subdirectories/web1", [ "ignore-me/should-ignore.js", "--ignore-path", "../.prettierignore", "-l", ]).test({ status: 0, }); runCli("cli/ignore-in-subdirectories/web1", [ "ignore-me/subdirectory/shou...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/plugin-override-builtin-printers.js
tests/integration/__tests__/plugin-override-builtin-printers.js
import prettier from "../../config/prettier-entry.js"; /** If plugin matched by parser: - Have a matched printer by `astFormat`, use it directly - Otherwise, use `astFormat` to find another plugin that provides a matched printer For the real world case, since we don't ship `estree` printer with the JS parsers, We sho...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/doc-mark-as-root.js
tests/integration/__tests__/doc-mark-as-root.js
import prettier from "../../config/prettier-entry.js"; const docPrinter = prettier.doc.printer; const docBuilders = prettier.doc.builders; const { printDocToString } = docPrinter; const { hardline, literalline, trim, indent, markAsRoot } = docBuilders; describe("markAsRoot", () => { test.each([ [ "with ha...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/format-ast.js
tests/integration/__tests__/format-ast.js
import prettier from "../../config/prettier-entry.js"; const { formatAST } = prettier.__debug; describe("formatAST", () => { const originalNodeEnv = process.env.NODE_ENV; beforeAll(() => { process.env.NODE_ENV = "production"; }); afterAll(() => { process.env.NODE_ENV = originalNodeEnv; }); const f...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/ignore-absolute-path.js
tests/integration/__tests__/ignore-absolute-path.js
import path from "node:path"; import createEsmUtils from "esm-utils"; const { __dirname } = createEsmUtils(import.meta); describe("support absolute filename", () => { runCli("cli/ignore-absolute-path", [ path.resolve(__dirname, "../cli/ignore-absolute-path/ignored/module.js"), path.resolve(__dirname, "../cli...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/plugin-options-string.js
tests/integration/__tests__/plugin-options-string.js
import { createTwoFilesPatch } from "diff"; test("show external options with `--help`", async () => { const originalStdout = await runCli("plugins/options-string", ["--help"]) .stdout; const pluggedStdout = await runCli("plugins/options-string", [ "--help", "--plugin=./plugin.cjs", ]).stdout; expec...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/patterns-dirs.js
tests/integration/__tests__/patterns-dirs.js
import fs from "node:fs"; import path from "node:path"; import createEsmUtils from "esm-utils"; import { projectRoot } from "../env.js"; import jestPathSerializer from "../path-serializer.js"; const { __dirname } = createEsmUtils(import.meta); expect.addSnapshotSerializer(jestPathSerializer); const runCliWithoutGiti...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/stdin-filepath.js
tests/integration/__tests__/stdin-filepath.js
import { isCI } from "ci-info"; import { outdent } from "outdent"; describe("format correctly if stdin content compatible with stdin-filepath", () => { runCli( "cli", ["--stdin-filepath", "abc.css"], { input: ".name { display: none; }" }, // css ).test({ status: 0, }); }); describe("throw error ...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/syntax-error.js
tests/integration/__tests__/syntax-error.js
describe("exits with non-zero code when input has a syntax error", () => { runCli("cli/with-shebang", ["--parser", "babel"], { input: "a.2", }).test({ status: 2, }); });
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/experimental-cli.js
tests/integration/__tests__/experimental-cli.js
import fs from "node:fs/promises"; import { createRequire } from "node:module"; import path from "node:path"; const require = createRequire(import.meta.url); function runExperimentalCli(args, options) { return runCli("cli/experimental-cli", [...args, "--no-cache"], { title: args.join(" "), ...options, e...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/format.js
tests/integration/__tests__/format.js
import { outdent } from "outdent"; import prettier from "../../config/prettier-entry.js"; import fooPlugin from "../plugins/defaultOptions/plugin.cjs"; test("yaml parser should handle CRLF correctly", async () => { const input = "a:\r\n 123\r\n"; expect( // use JSON.stringify to observe CRLF JSON.stringif...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/__tests__/line-after-filepath-with-errors.js
tests/integration/__tests__/line-after-filepath-with-errors.js
import jestPathSerializer from "../path-serializer.js"; expect.addSnapshotSerializer(jestPathSerializer); describe("Line breaking after filepath with errors", () => { runCli("cli/syntax-errors", ["./*.{js,unknown}"], { stdoutIsTTY: true, }).test({ status: 2 }); runCli("cli/syntax-errors", ["--list-different...
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-vcs-files/file.js
tests/integration/cli/ignore-vcs-files/file.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-vcs-files/.svn/file.js
tests/integration/cli/ignore-vcs-files/.svn/file.js
/* eslint-disable */ 'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-vcs-files/.hg/file.js
tests/integration/cli/ignore-vcs-files/.hg/file.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-vcs-files/.jj/file.js
tests/integration/cli/ignore-vcs-files/.jj/file.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/skip-folders/a/file.js
tests/integration/cli/skip-folders/a/file.js
fooA( )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/skip-folders/b/file.js
tests/integration/cli/skip-folders/b/file.js
fooB( )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-in-subdirectories/web2/should-not-ignore.js
tests/integration/cli/ignore-in-subdirectories/web2/should-not-ignore.js
var x = 'this should be formatted';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-in-subdirectories/web1/should-not-ignore.js
tests/integration/cli/ignore-in-subdirectories/web1/should-not-ignore.js
var x = 'this should be formatted';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-in-subdirectories/web1/ignore-me/should-ignore.js
tests/integration/cli/ignore-in-subdirectories/web1/ignore-me/should-ignore.js
var x = 'this should not be formatted';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-in-subdirectories/web1/ignore-me/subdirectory/should-ignore.js
tests/integration/cli/ignore-in-subdirectories/web1/ignore-me/subdirectory/should-ignore.js
var x = 'this should not be formatted';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/print-code/ignored.js
tests/integration/cli/print-code/ignored.js
foo( )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/print-code/not-ignored.js
tests/integration/cli/print-code/not-ignored.js
foo( )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/debug-check/issue-15094.jsx
tests/integration/cli/debug-check/issue-15094.jsx
<style {...a}/>;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/debug-check/issue-4599.js
tests/integration/cli/debug-check/issue-4599.js
console.log("…");
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-special-characters/square-brackets/[with-square-brackets].js
tests/integration/cli/patterns-special-characters/square-brackets/[with-square-brackets].js
foo( )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-special-characters/dots/[...with-square-and-dots-brackets].js
tests/integration/cli/patterns-special-characters/dots/[...with-square-and-dots-brackets].js
foo( )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-3/outside.js
tests/integration/cli/patterns-glob/fixtures-3/outside.js
foo .bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-3/dir/inside.js
tests/integration/cli/patterns-glob/fixtures-3/dir/inside.js
foo .bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-3/dir/node_modules/in-node_modules.js
tests/integration/cli/patterns-glob/fixtures-3/dir/node_modules/in-node_modules.js
foo .bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-3/dir/.svn/in-svn.js
tests/integration/cli/patterns-glob/fixtures-3/dir/.svn/in-svn.js
foo .bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-2/!b.js
tests/integration/cli/patterns-glob/fixtures-2/!b.js
foo. bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-2/a.js
tests/integration/cli/patterns-glob/fixtures-2/a.js
foo. bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-4/level-0.js
tests/integration/cli/patterns-glob/fixtures-4/level-0.js
foo .bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-4/0/level-1.js
tests/integration/cli/patterns-glob/fixtures-4/0/level-1.js
foo .bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-4/0/1/level-2.js
tests/integration/cli/patterns-glob/fixtures-4/0/1/level-2.js
foo .bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-4/0/1/2/level-3.js
tests/integration/cli/patterns-glob/fixtures-4/0/1/2/level-3.js
foo .bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-1/!file.js
tests/integration/cli/patterns-glob/fixtures-1/!file.js
foo. bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-1/b.js
tests/integration/cli/patterns-glob/fixtures-1/b.js
foo. bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-1/a.js
tests/integration/cli/patterns-glob/fixtures-1/a.js
foo. bar()
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-glob/fixtures-5/constructor/should-be-formatted.js
tests/integration/cli/patterns-glob/fixtures-5/constructor/should-be-formatted.js
console.log( "*");
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-dirs/!dir/a.js
tests/integration/cli/patterns-dirs/!dir/a.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-dirs/dir2/b2.js
tests/integration/cli/patterns-dirs/dir2/b2.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-dirs/dir2/a2.js
tests/integration/cli/patterns-dirs/dir2/a2.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-dirs/dir2/nested2/bn2.js
tests/integration/cli/patterns-dirs/dir2/nested2/bn2.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-dirs/dir2/nested2/an2.js
tests/integration/cli/patterns-dirs/dir2/nested2/an2.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-dirs/dir1/a1.js
tests/integration/cli/patterns-dirs/dir1/a1.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-dirs/dir1/b1.js
tests/integration/cli/patterns-dirs/dir1/b1.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-dirs/dir1/nested1/an1.js
tests/integration/cli/patterns-dirs/dir1/nested1/an1.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns-dirs/dir1/nested1/bn1.js
tests/integration/cli/patterns-dirs/dir1/nested1/bn1.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/with-shebang/issue1890.js
tests/integration/cli/with-shebang/issue1890.js
#!/usr/bin/env node "use strict";
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/experimental-cli/test-0/should-format.js
tests/integration/cli/experimental-cli/test-0/should-format.js
console.log( "Hello, world!" )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/experimental-cli/test-0/should-not-format.js
tests/integration/cli/experimental-cli/test-0/should-not-format.js
console.log("Hello, world!");
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/experimental-cli/test-1/should-format.js
tests/integration/cli/experimental-cli/test-1/should-format.js
console.log( "Hello, world!" )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/experimental-cli/test-1/should-not-format.js
tests/integration/cli/experimental-cli/test-1/should-not-format.js
console.log("Hello, world!");
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/experimental-cli/test-2/should-format.js
tests/integration/cli/experimental-cli/test-2/should-format.js
console.log("Hello, world!");
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/experimental-cli/test-2/should-not-format.js
tests/integration/cli/experimental-cli/test-2/should-not-format.js
console.log("Hello, world!");
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/experimental-cli/test-3/should-format.js
tests/integration/cli/experimental-cli/test-3/should-format.js
console.log("Hello, world!");
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/experimental-cli/test-3/should-not-format.js
tests/integration/cli/experimental-cli/test-3/should-not-format.js
console.log("Hello, world!");
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/syntax-errors/invalid-2.js
tests/integration/cli/syntax-errors/invalid-2.js
foo (+-) bar
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/syntax-errors/valid-1.js
tests/integration/cli/syntax-errors/valid-1.js
function foo() {}
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/syntax-errors/invalid-1.js
tests/integration/cli/syntax-errors/invalid-1.js
foo (+-) bar
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-absolute-path/regular-module.js
tests/integration/cli/ignore-absolute-path/regular-module.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-absolute-path/ignored/.prettierrc.js
tests/integration/cli/ignore-absolute-path/ignored/.prettierrc.js
throw Error('This config should not be evaluated since the directory is ignored');
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-absolute-path/ignored/module.js
tests/integration/cli/ignore-absolute-path/ignored/module.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/ignore-absolute-path/depth1/ignored/module.js
tests/integration/cli/ignore-absolute-path/depth1/ignored/module.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/config-precedence/valid-config/foo.js
tests/integration/cli/config-precedence/valid-config/foo.js
function foo () { return bar; }
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/config-precedence/invalid-config/foo.js
tests/integration/cli/config-precedence/invalid-config/foo.js
function foo () { return bar; }
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns/regular-module.js
tests/integration/cli/patterns/regular-module.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns/other-regular-modules.js
tests/integration/cli/patterns/other-regular-modules.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns/directory/file.js
tests/integration/cli/patterns/directory/file.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns/directory/nested-directory/nested-directory-file.js
tests/integration/cli/patterns/directory/nested-directory/nested-directory-file.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns/node_modules/node-module.js
tests/integration/cli/patterns/node_modules/node-module.js
/* eslint-disable */ 'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns/other-directory/file.js
tests/integration/cli/patterns/other-directory/file.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/patterns/other-directory/nested-directory/nested-directory-file.js
tests/integration/cli/patterns/other-directory/nested-directory/nested-directory-file.js
'use strict';
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/write/unformatted.js
tests/integration/cli/write/unformatted.js
var x = 1;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/write/invalid.js
tests/integration/cli/write/invalid.js
this is invalid!
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/write/formatted.js
tests/integration/cli/write/formatted.js
var x = 1;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/write/unformatted2.js
tests/integration/cli/write/unformatted2.js
var x = 1;
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/infer-plugins-ext-dir-with-overrides-and-default-options/src/index.js
tests/integration/cli/infer-plugins-ext-dir-with-overrides-and-default-options/src/index.js
function main() { console.log("Hello, World!"); }
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/performance-flags/fixture.js
tests/integration/cli/performance-flags/fixture.js
foo( bar )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false
prettier/prettier
https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/integration/cli/infer-parser/foo.js
tests/integration/cli/infer-parser/foo.js
foo ( )
javascript
MIT
ae0e00df55d47274cc53db8d2cdcd064849e088d
2026-01-04T14:57:20.107180Z
false