Get started
Verification report · signed

146 of 146 claims verified at floor 0.9.

Every claim below was scored against the source it cites. Check the signature offline with the key at /.well-known/report-keys, or re-run any claim with the pinned judge.

The report

Digestsha256:868a3191ec0a05385bc86367b18e7c49dd1d01905e2279a4be0a25cb90977ab3
Signing key idpem-9ec90d53d901e315
Judgegoogle/gemini-4-argon · v0-dev
Judge prompt hashsha256:1e64388843ffb61194ac8007b4992da06d5edd7ac2671ec35b1e82d8c2a9d04d
AI Source of Truthrecord · entity AI Source of Truth verdict for record 795af1d05df7
Pipelinecore-0
Mean entailment1.000
Signed2026-11-19
Versionv1
Artifact digestsha256:386ff5578f5e7b527822e278a0a5e316ffad4f1890c6ec508e9cc5df806360eb
Source commitsha256:01d50d0459e8dc12fc6fa87a1fc78896767a29490127764188c5b5f48f74d466
Verified at2026-11-19T00:55:17.775Z
Cited byno other product cites this version yet

Agents: fetch the same report with artifacts_get view report (its freshness carries the version, digest, source commit and verified time, and its citation says whether it met its floor), compare versions with view versions, and re-check a claim with claims_verify (no token needed; see the MCP reference).

What this report checked

  • Sources were locked and hashed before any claim was scored
  • The text was split into atomic factual claims
  • Each claim was scored against the source it cites by the pinned judge
  • Each claim was bound to verified, in review or cut at the floor

Checks not run

  • Claims were re-verified after the style pass

What this report does not cover

  • Whether the cited sources are themselves true
  • Factual statements the decomposition step did not extract as claims
  • Safety or security of code, commands or instructions in the artifact
  • Licensing or ownership of the artifact content
Judge versionv0-dev

Verify it yourself

This report is also an in-toto attestation in a Sigstore bundle, signed with the report key. Check it with cosign and the published key; you need no ContextFile code. Full steps: /docs/verify.

Key idpem-9ec90d53d901e315
Rekornot logged (only reports on the registry are logged; cosign needs --insecure-ignore-tlog=true)
curl -sSo attestation.sigstore.json 'https://contextfile.ai/reports/sha256%3A868a3191ec0a05385bc86367b18e7c49dd1d01905e2279a4be0a25cb90977ab3/attestation.sigstore.json'
curl -sS 'https://contextfile.ai/.well-known/report-keys' | jq -r '.keys[] | select(.key_id == "pem-9ec90d53d901e315") | .pem' > report-key.pem
cosign verify-blob-attestation \
  --new-bundle-format --bundle attestation.sigstore.json \
  --key report-key.pem \
  --type https://contextfile.ai/verification-report/v1 \
  --insecure-ignore-tlog=true \
  ./artifact-file

Replace ./artifact-file with the file you bought; cosign checks that its SHA-256 is the statement subject. To read the scope block from the bundle:

jq -r .dsseEnvelope.payload attestation.sigstore.json | base64 -d | jq .predicate.body.scope

Claims

ClaimSourceScoreStateRe-check
CLM-0001
Prettier enforces a consistent code style across a codebase.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/index.md1verified
CLM-0002
Prettier parses away the original styling and re-prints the AST with its own rules, taking maximum line length into account.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/index.md1verified
CLM-0003
Prettier preserves some original styling when practical, such as empty lines and multi-line objects.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/index.md1verified
CLM-0004
The printer takes an AST and returns an intermediate representation, which it uses to generate a string.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/technical-details.md1verified
CLM-0005
The intermediate representation lets the printer measure whether output fits on a line and break if not.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/technical-details.md1verified
CLM-0006
The printer is a fork of recast's printer.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/technical-details.md1verified
CLM-0007
Recast's printer algorithm was replaced by the one in Wadler's "A prettier printer".
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/technical-details.md1verified
CLM-0008
Prettier's first requirement is to output valid code that behaves exactly as before formatting.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/rationale.md1verified
CLM-0009
Prettier is not a rule-based tool.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/comparison.md1verified
CLM-0010
Prettier has no individual formatting rules to enable or disable.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/comparison.md1verified
CLM-0011
Prettier reprints the whole program from scratch.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/comparison.md1verified
CLM-0012
The docs instruct to install Prettier locally.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0013
The npm install form for Prettier is `npm install --save-dev --save-exact prettier@%PRETTIER_VERSION%`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0014
The docs recommend installing an exact version of Prettier because even a patch release can change formatting slightly.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0015
Different team members on different Prettier versions would format each other's changes back and forth.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0016
Creating an empty config file (`.prettierrc`) lets editors and tools know you use Prettier.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0017
Creating a `.prettierignore` file lets the CLI and editors know which files not to format.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0018
If you forget to install Prettier first, `npx` temporarily downloads the latest version.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0019
The docs advise against letting `npx` temporarily download the latest version because formatting changes in each release.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0020
You can format everything with `prettier . --write`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0021
In CI, you can run `prettier . --check`, which checks without overwriting files.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0022
Editor plugins pick up your local Prettier version, so the regular local install should not be skipped.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0023
Prettier CLI usage is `prettier [options] [file/dir/glob ...]`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0024
`--write` rewrites files in place.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0025
`-w` is an alias for `--write`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0026
Globs should be quoted so that Prettier's CLI expands them rather than the shell.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0027
The docs recommend a configuration file over CLI flags for formatting options, so that editors and other tooling know your options.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0028
In Prettier CLI path resolution, an existing file is used as-is.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0029
In Prettier CLI path resolution, an existing directory is searched recursively for supported files.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0030
In Prettier CLI path resolution, anything that is not an existing file or directory is resolved as a `fast-glob` pattern.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0031
Files in `node_modules` are ignored unless `--with-node-modules` is passed.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0032
Symbolic links are not followed by the Prettier CLI.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0033
`--check` (or `-c`) prints a human-friendly message and lists unformatted files.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0034
Prettier CLI exit code `0` means everything is formatted.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0035
Prettier CLI exit code `1` means something wasn't formatted properly.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0036
Prettier CLI exit code `2` means something's wrong with Prettier.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0037
`--list-different` (or `-l`) prints the names of differing files.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0038
`--list-different` (or `-l`) is the option to use when piping the list of differing files to another command.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0039
`--ignore-path` defaults to `./.gitignore` and `./.prettierignore`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0040
Specifying `--ignore-path` overrides the defaults rather than adding to them.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0041
`--config-precedence` defaults to `cli-override`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0042
`--no-config` skips configuration file lookup.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0043
`--cache` keys on the Prettier version, options, Node.js version, and file metadata or content depending on `--cache-strategy`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0044
The cache file defaults to `./node_modules/.cache/prettier/.prettier-cache`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0045
The default `--cache-strategy` is `content`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0046
Plugin versions are not cache keys, so you should delete the cache when updating plugins.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/cli.md1verified
CLM-0047
Configuration can be written as JSON, YAML, TOML, JS (ES modules or CommonJS) or TypeScript, such as `.prettierrc`, `prettier.config.mjs` or `.prettierrc.toml`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/configuration.md1verified
CLM-0048
`overrides` set different options for particular file extensions, folders or files.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/configuration.md1verified
CLM-0049
Shareable configs are npm packages that export a single Prettier config file.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/sharing-configurations.md1verified
CLM-0050
The docs recommend a scoped name such as `@username/prettier-config` for shareable configs.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/sharing-configurations.md1verified
CLM-0051
To extend a shared config, import it in `prettier.config.mjs`, spread it, and override properties.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/sharing-configurations.md1verified
CLM-0052
If a shared config uses plugins, declare them in the config's `plugins` array and in `dependencies` in `package.json`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/sharing-configurations.md1verified
CLM-0053
The default for `printWidth` is `80`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0054
The default for `tabWidth` is `2`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0055
The default for `useTabs` is `false`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0056
The default for `semi` is `true`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0057
The default for `singleQuote` is `false`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0058
The default for `quoteProps` is `"as-needed"`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0059
The default for `jsxSingleQuote` is `false`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0060
The default for `trailingComma` is `"all"`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0061
The default for `bracketSpacing` is `true`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0062
The default for `objectWrap` is `"preserve"`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0063
The default for `bracketSameLine` is `false`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0064
The default for `arrowParens` is `"always"`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0065
The default for `proseWrap` is `"preserve"`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0066
The default for `endOfLine` is `"lf"`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0067
The default for `embeddedLanguageFormatting` is `"auto"`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0068
The default for `singleAttributePerLine` is `false`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0069
The default for `experimentalTernaries` is `false`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0070
The default for `experimentalOperatorPosition` is `"end"`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0071
The default for `trailingComma` changed from `es5` to `all` in v3.0.0.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0072
The default for `arrowParens` changed from `avoid` to `always` in v2.0.0.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0073
`objectWrap` was first available in v3.5.0.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0074
`printWidth` is not a hard maximum line length like ESLint's `max-len`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0075
`printWidth` tells Prettier roughly how long you want lines to be, and Prettier will make both shorter and longer lines.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0076
In `.editorconfig`, `max_line_length`, `indent_size`/`tab_width`, `indent_style` and `end_of_line` configure the matching Prettier options unless overridden.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0077
When both `--require-pragma` and `--insert-pragma` are used, `--require-pragma` has priority and `--insert-pragma` is ignored.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0078
`--check-ignore-pragma` was first available in v3.6.0.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0079
`--check-ignore-pragma` lets files opt out via `@noprettier` or `@noformat`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0080
The custom parser API was removed in v3.0.0, and plugins replace it.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0081
Prettier infers the parser from the file path, so you shouldn't normally need to set it.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/options.md1verified
CLM-0082
`.prettierignore` uses gitignore syntax and lives in the project root.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0083
By default Prettier ignores version-control directories (`.git`, `.jj`, `.sl`, `.svn`, `.hg`) and `node_modules`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0084
By default Prettier follows `.gitignore` if present in the directory it runs from.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0085
A `// prettier-ignore` comment excludes the next AST node in JavaScript.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0086
JSX uses `{/* prettier-ignore */}` to ignore code.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0087
HTML uses `<!-- prettier-ignore -->` and `prettier-ignore-attribute` to ignore code.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0088
CSS uses `/* prettier-ignore */` to ignore code.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0089
YAML uses `# prettier-ignore` on the line immediately above the node to ignore code.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0090
GraphQL uses `# prettier-ignore` to ignore code.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0091
Handlebars uses `{{! prettier-ignore }}` to ignore code.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0092
Markdown range ignore (`prettier-ignore-start`/`-end`) is available in v1.12.0+, is only allowed at top level, and needs a blank line before each comment.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0093
For one-off exclusions, negative patterns such as `prettier . "!**/*.{js,jsx,vue}" --write` can be used.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ignore.md1verified
CLM-0094
For strings, Prettier picks the quote style that results in the fewest escapes, and on a tie it defaults to double quotes.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/rationale.md1verified
CLM-0095
Prettier preserves empty lines from the source, collapses multiple blank lines into one, and removes blank lines at the start and end of blocks.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/rationale.md1verified
CLM-0096
Comment content is left as-is, except that JSDoc-style comments can have their indentation fixed.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/rationale.md1verified
CLM-0097
Comments work best on their own lines, and magic comments such as `eslint-disable-next-line` may sometimes need to be moved manually after Prettier breaks an expression.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/rationale.md1verified
CLM-0098
Prettier intentionally exceeds the print width for single-element imports and for test-description calls such as `describe`, `it` and `test`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/rationale.md1verified
CLM-0099
Prettier splits a template-literal interpolation across lines only if the interpolation already contains a linebreak.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/rationale.md1verified
CLM-0100
The docs recommend using Prettier for formatting and linters for code quality.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/integrating-with-linters.md1verified
CLM-0101
The docs recommend using Prettier for formatting and linters for code quality.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/comparison.md1verified
CLM-0102
`eslint-config-prettier` turns off ESLint rules that are unnecessary or might conflict with Prettier.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/integrating-with-linters.md1verified
CLM-0103
`eslint-config-prettier` turns off ESLint rules that are unnecessary or might conflict with Prettier.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0104
`eslint-config-prettier` turns off ESLint rules that are unnecessary or might conflict with Prettier.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/related-projects.md1verified
CLM-0105
Plugins that run Prettier as a linter rule (`eslint-plugin-prettier`, `stylelint-prettier`) and tools that run Prettier then `--fix` (`prettier-eslint`, `prettier-stylelint`) are "generally not recommended".
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/integrating-with-linters.md1verified
CLM-0106
The listed downsides of the rule-style plugins are noisy editor squiggles, slower runs than Prettier directly, and an extra layer of indirection.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/integrating-with-linters.md1verified
CLM-0107
The `prettier-eslint` style tools are much slower than just running Prettier.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/integrating-with-linters.md1verified
CLM-0108
More integrations are catalogued in Related Projects, including stylelint integrations, the `prettierx` fork, `pretty-quick` and `parallel-prettier`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/related-projects.md1verified
CLM-0109
Running Prettier from your editor is recommended, and if your editor lacks support, you can run it with a file watcher.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/editors.md1verified
CLM-0110
The Editor Integration page covers VS Code, Emacs, Vim, Helix, Sublime Text, JetBrains IDEs, Visual Studio and Espresso.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/editors.md1verified
CLM-0111
WebStorm has built-in support for Prettier, while other JetBrains IDEs need the Prettier plugin.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/webstorm.md1verified
CLM-0112
For Vim, `vim-prettier`, Neoformat and ALE are options.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/vim.md1verified
CLM-0113
For Neoformat to use the project-local Prettier, set `g:neoformat_try_node_exe = 1`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/vim.md1verified
CLM-0114
Watching for changes can be done with `onchange`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/watching-files.md1verified
CLM-0115
Pre-commit options documented include lint-staged, pretty-quick with simple-git-hooks, Lefthook, and a shell script.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/precommit.md1verified
CLM-0116
The install guide's husky + lint-staged example uses `"**/*": "prettier --write --ignore-unknown"`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0117
If you use ESLint with lint-staged, run ESLint before Prettier.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/install.md1verified
CLM-0118
For GitHub Actions autofix, the docs describe installing the `autofix.ci` app, having a pinned Prettier version, and adding a workflow.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/ci.md1verified
CLM-0119
Public APIs are asynchronous, and `@prettier/sync` is mentioned for synchronous use.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/api.md1verified
CLM-0120
`prettier.format(source, options)` needs `options.parser` or `options.filepath`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/api.md1verified
CLM-0121
`prettier.check` returns `Promise<boolean>`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/api.md1verified
CLM-0122
`prettier.formatWithCursor` translates a cursor position and takes `cursorOffset`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/api.md1verified
CLM-0123
The standalone browser version doesn't depend on Node.js, and has no support for config files, ignore files, CLI usage or automatic plugin loading.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/browser.md1verified
CLM-0124
Standalone ships as ES modules (`standalone.mjs`, from version 3.0) and UMD (`standalone.js`, from 1.13).
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/browser.md1verified
CLM-0125
In the browser, `plugins` must be passed explicitly, and the `estree` plugin must be loaded for JavaScript, TypeScript, Flow or JSON.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/browser.md1verified
CLM-0126
Plugins add languages or formatting rules.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0127
The core package includes JavaScript and other web-focused languages, and other languages need a plugin.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0128
Plugins load via the CLI `--plugin` flag, the API `plugins` option, or the configuration file, and strings are passed to `import()`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0129
The official plugins listed are `@prettier/plugin-php`, `-pug`, `-ruby` and `-xml`, followed by a longer community list.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0130
A plugin is a JavaScript module with `languages`, `parsers`, `printers`, `options` and `defaultOptions`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0131
Each `languages` entry in a plugin must include `name` and `parsers`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0132
Parsers convert text to an AST, where the key must match a name in `languages`, and the value includes `parse`, `astFormat`, `locStart` and `locEnd`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0133
Printers convert an AST to a Doc, where the key must match the parser's `astFormat`, and the value needs a `print` function.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0134
The printing steps are optional preprocessing, comment attachment and embedded-language processing, followed by recursive printing.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0135
`embed` can do async work by returning a function.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0136
If `embed` returns `undefined`, errors, or rejects, the node is printed with `print`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0137
Setting `PRETTIER_DEBUG` to a non-empty value rethrows errors from `embed`.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0138
With `--embedded-language-formatting=off`, `embed` isn't called.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0139
Async `preprocess` for parsers was first added in v3.7.0.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0140
`printPrettierIgnored` was first available in v3.7.0.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0141
The `ancestors` parameter of `canAttachComment` was first added in v3.7.0.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0142
`prettier.util.add{Trailing,Leading,Dangling}Comment()` returns `void` until v3.10.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0143
`--debug-print-comments` helps debug comment attachment.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0144
To test a plugin, pass a relative path in `plugins`, which resolves relative to the current working directory.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/plugins.md1verified
CLM-0145
The docs' main argument for adopting Prettier is to stop ongoing style debates, and Prettier is described as the only fully automatic "style guide".
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/why-prettier.md1verified
CLM-0146
Enterprise support for Prettier is offered through a Tidelift subscription.
https://github.com/prettier/prettier/blob/7a556ba7484329af25a668b4c5038323cb8b2a64/docs/for-enterprise.md1verified