[[flag-credit]]
binaries = ["eslint"]
flags = ["--format", "-f"]
resolution = "prefixed"
prefix = "eslint-formatter"
notes = """
eslint expands `--format gha` to `eslint-formatter-gha` through a documented
shorthand (issue #2006). Bundled formatter names are not filtered out: eslint
resolves the npm package before falling back to its bundled one, so a declared
`eslint-formatter-json` really is loaded.
"""
[[flag-credit]]
binaries = ["eslint"]
flags = ["--plugin"]
resolution = "prefixed"
prefix = "eslint-plugin"
notes = """
Same normalizePackageName expansion with the `eslint-plugin` prefix. There are
no built-in plugins, so every resolvable value names an installable package.
"""
[[flag-credit]]
binaries = ["jest"]
flags = ["--testEnvironment", "--test-environment", "--env"]
resolution = "prefixed-then-bare"
prefix = "jest-environment"
builtins = ["node"]
notes = """
jest-resolve tries `jest-environment-<value>` and then the plain value, so
both candidates are credited. `node` is the built-in environment.
"""
[[flag-credit]]
binaries = ["jest"]
flags = ["--runner"]
resolution = "prefixed-then-bare"
prefix = "jest-runner"
notes = """
Same jest-resolve lookup with the `jest-runner` prefix. The default `jest-runner`
package ships with jest itself and is credited only when declared.
"""
[[flag-credit]]
binaries = ["jest"]
flags = ["--reporters"]
resolution = "verbatim"
builtins = ["default", "github-actions", "summary"]
notes = """
Reporter values name the module verbatim (`jest-junit`); the listed built-ins
resolve inside jest and never name an installable package.
"""
[[flag-credit]]
binaries = ["jest"]
flags = ["--preset"]
resolution = "verbatim"
notes = """
A preset value points at an npm module containing a jest-preset file
(`ts-jest`, `react-native`); jest resolves the name verbatim.
"""
[[flag-credit]]
binaries = ["node", "tsx", "ts-node"]
flags = ["--require", "-r", "--loader", "--experimental-loader", "--import"]
resolution = "verbatim"
notes = """
Preload and loader flags take a module specifier verbatim; subpath specifiers
like `ts-node/register` and `dotenv/config` credit the owning package. Values
starting with `.` or `/` are file paths and `node:` specifiers are built-in
modules; both credit nothing.
"""
[[flag-credit]]
binaries = ["mocha"]
flags = ["--reporter", "-R"]
resolution = "verbatim"
builtins = [
"base",
"doc",
"dot",
"html",
"json",
"json-stream",
"landing",
"list",
"markdown",
"min",
"nyan",
"progress",
"spec",
"tap",
"xunit",
]
notes = """
Third-party reporters are named verbatim (`mochawesome`). The built-in
reporter names are excluded because mocha resolves them internally and several
(`json`, `markdown`, `list`) collide with real npm packages.
"""
[[flag-credit]]
binaries = ["mocha"]
flags = ["--require", "-r"]
resolution = "verbatim"
notes = """
Same preload semantics as node's `--require`, resolved verbatim.
"""
[[flag-credit]]
binaries = ["prettier"]
flags = ["--plugin"]
resolution = "verbatim"
notes = """
prettier does not auto-prefix plugin names; the value is the package itself
(`prettier-plugin-tailwindcss`, `@prettier/plugin-xml`).
"""
[[flag-credit]]
binaries = ["stylelint"]
flags = ["--custom-syntax"]
resolution = "verbatim"
notes = """
Custom syntaxes are named verbatim (`postcss-scss`). `--formatter` has no row
on purpose: no `stylelint-formatter-*` naming convention exists.
"""
[[flag-credit]]
binaries = ["postcss"]
flags = ["--use", "-u"]
resolution = "verbatim"
notes = """
postcss-cli loads each `--use` value as a plugin package verbatim
(`autoprefixer`, `postcss-preset-env`).
"""