pare-lint
v0.24.2Pare Lint ג€” Structured linting and formatting (ESLint, Prettier, Biome, Oxlint) as typed JSON.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lint ESLint Check
Runs ESLint and returns structured diagnostics (file, line, column, rule, severity, message).
| Parameter | Type | Description |
|---|---|---|
cache | boolean | Cache lint results for faster subsequent runs (maps to --cache) |
compact | boolean | Prefer compact output |
config | string | Path to ESLint configuration file (maps to --config) |
fix | boolean | Auto-fix problems |
fixDryRun | boolean | Preview fixes without writing them (maps to --fix-dry-run) |
fixType | array | Types of fixes to apply (maps to --fix-type). Requires --fix or --fix-dry-run. |
maxWarnings | integer | Maximum number of warnings before failing (maps to --max-warnings). Use -1 for no limit. |
noIgnore | boolean | Disable ignore patterns to lint normally-ignored files (maps to --no-ignore) |
path | string | Project root path |
patterns | array | File patterns to lint (default: ['.']) |
quiet | boolean | Report errors only, suppress warnings (maps to --quiet) |
rule | array | Ad-hoc rule overrides, e.g. ['no-console: error'] (maps to --rule) |
format-check Prettier Check
Checks if files are formatted and returns a structured list of files needing formatting.
| Parameter | Type | Description |
|---|---|---|
cache | boolean | Cache formatted files for faster subsequent checks (maps to --cache) |
compact | boolean | Prefer compact output |
config | string | Path to a Prettier configuration file (maps to --config) |
ignorePath | string | Path to a custom ignore file (maps to --ignore-path) |
ignoreUnknown | boolean | Ignore files that cannot be parsed (maps to --ignore-unknown) |
logLevel | string | Log level to control output verbosity |
noConfig | boolean | Do not look for a configuration file (maps to --no-config) |
parser | string | Force a specific parser for ambiguous file types (maps to --parser) |
path | string | Project root path |
patterns | array | File patterns to check (default: ['.']) |
printWidth | integer | The line length where Prettier will try to wrap |
singleQuote | boolean | Use single quotes instead of double quotes where possible |
tabWidth | integer | Number of spaces per indentation level (maps to --tab-width) |
trailingComma | string | Print trailing commas wherever possible |
prettier-format Prettier Format
Formats files with Prettier (--write) and returns a structured list of changed files.
| Parameter | Type | Description |
|---|---|---|
cache | boolean | Cache formatted files for faster subsequent runs (maps to --cache) |
compact | boolean | Prefer compact output |
config | string | Path to a Prettier configuration file (maps to --config) |
endOfLine | string | Line ending style override |
ignoreUnknown | boolean | Ignore files that cannot be parsed (maps to --ignore-unknown) |
logLevel | string | Log level to control output verbosity |
noConfig | boolean | Do not look for a configuration file (maps to --no-config) |
path | string | Project root path |
patterns | array | File patterns to format (default: ['.']) |
printWidth | integer | The line length where Prettier will try to wrap |
singleQuote | boolean | Use single quotes instead of double quotes where possible |
tabWidth | integer | Number of spaces per indentation level (maps to --tab-width) |
trailingComma | string | Print trailing commas wherever possible |
biome-check Biome Check
Runs Biome check (lint + format) and returns structured diagnostics (file, line, rule, severity, message).
| Parameter | Type | Description |
|---|---|---|
apply | boolean | Apply safe fixes automatically (maps to --apply) |
applyUnsafe | boolean | Apply safe and unsafe fixes automatically (maps to --apply-unsafe) |
changed | boolean | Only check VCS-changed files (maps to --changed) |
compact | boolean | Prefer compact output |
configPath | string | Path to Biome configuration file (maps to --config-path) |
diagnosticLevel | string | Minimum diagnostic level to report |
formatterEnabled | boolean | Enable or disable the formatter (maps to --formatter-enabled) |
linterEnabled | boolean | Enable or disable the linter (maps to --linter-enabled) |
maxDiagnostics | integer | Maximum number of diagnostics to display (maps to --max-diagnostics) |
path | string | Project root path |
patterns | array | File patterns to check (default: ['.']) |
since | string | Only check files changed since this git ref (maps to --since) |
skip | array | Rules to skip (maps to --skip) |
staged | boolean | Only check staged files (maps to --staged) |
biome-format Biome Format
Formats files with Biome (format --write) and returns a structured list of changed files.
| Parameter | Type | Description |
|---|---|---|
changed | boolean | Only format VCS-changed files (maps to --changed) |
compact | boolean | Prefer compact output |
configPath | string | Path to Biome configuration file (maps to --config-path) |
indentStyle | string | Indent style override (tab or space) |
lineEnding | string | Line ending style |
lineWidth | number | Line width override |
path | string | Project root path |
patterns | array | File patterns to format (default: ['.']) |
quoteStyle | string | Quote style override (single or double) |
semicolons | string | Semicolon style (always or asNeeded) |
since | string | Only format files changed since this git ref (maps to --since) |
staged | boolean | Only format staged files (maps to --staged) |
stylelint Stylelint Check
Runs Stylelint and returns structured diagnostics (file, line, column, rule, severity, message).
| Parameter | Type | Description |
|---|---|---|
allowEmptyInput | boolean | Prevent errors when no files match the pattern (maps to --allow-empty-input) |
cache | boolean | Cache lint results for faster subsequent runs (maps to --cache) |
compact | boolean | Prefer compact output |
config | string | Path to Stylelint configuration file (maps to --config) |
fix | boolean | Auto-fix problems |
ignoreDisables | boolean | Ignore stylelint-disable comments and enforce all rules (maps to --ignore-disables) |
ignorePath | string | Path to a custom ignore file (maps to --ignore-path) |
maxWarnings | integer | Maximum number of warnings before failing (maps to --max-warnings) |
path | string | Project root path |
patterns | array | File patterns to lint (default: ['.']) |
quiet | boolean | Report errors only, suppress warnings (maps to --quiet) |
reportNeedlessDisables | boolean | Report unnecessary stylelint-disable comments (maps to --report-needless-disables) |
oxlint Oxlint Check
Runs Oxlint and returns structured diagnostics (file, line, column, rule, severity, message).
| Parameter | Type | Description |
|---|---|---|
allow | array | Rules to allow (disable) (maps to -A) |
compact | boolean | Prefer compact output |
config | string | Path to Oxlint configuration file (maps to --config) |
deny | array | Rules to deny (error level) (maps to -D) |
fix | boolean | Auto-fix problems (maps to --fix) |
fixSuggestions | boolean | Apply suggestion-level fixes (maps to --fix-suggestions) |
ignorePath | string | Path to an alternate ignore file (maps to --ignore-path) |
noIgnore | boolean | Disable ignore patterns (maps to --no-ignore) |
path | string | Project root path |
patterns | array | File patterns to lint (default: ['.']) |
plugins | array | Plugin categories to enable (e.g., 'import', 'jest', 'jsx-a11y') (maps to --<plugin>-plugin) |
quiet | boolean | Report errors only, suppress warnings (maps to --quiet) |
threads | number | Number of threads to use for parallel linting |
tsconfig | string | Path to tsconfig.json for type-aware rules (maps to --tsconfig) |
warn | array | Rules to warn on (maps to -W) |
shellcheck ShellCheck
Runs ShellCheck (shell script linter) and returns structured diagnostics (file, line, column, rule, severity, message).
| Parameter | Type | Description |
|---|---|---|
checkSourced | boolean | Check sourced/included files (maps to --check-sourced) |
compact | boolean | Prefer compact output |
enable | array | Optional checks to enable, e.g. ['add-default-case', 'require-variable-braces'] (maps to --enable) |
exclude | array | Check codes to exclude, e.g. ['SC2086', 'SC2034'] (maps to --exclude) |
externalSources | boolean | Allow following source statements to external files (maps to --external-sources) |
include | array | Only report these check codes (maps to --include) |
norc | boolean | Disable .shellcheckrc config file lookup (maps to --norc) |
path | string | Project root path |
patterns | array | File paths or glob patterns to check (default: ['.']). Directories are automatically expanded to include *.sh, *.bash, *.zsh, *.ksh, *.dash files. |
rcfile | string | Path to a custom ShellCheck config file (maps to --rcfile) |
severity | string | Minimum severity level to report (default: style) |
shell | string | Shell dialect to assume (maps to --shell) |
sourcePath | string | Path to resolve source commands (maps to --source-path) |
hadolint Hadolint
Runs Hadolint (Dockerfile linter) and returns structured diagnostics (file, line, rule, severity, message).
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
config | string | Path to Hadolint configuration file (maps to --config) |
errorRules | array | Rule codes to treat as errors (maps to --error) |
failureThreshold | string | Minimum severity to cause a non-zero exit code (maps to --failure-threshold) |
ignoreRules | array | Rule codes to ignore (e.g., ['DL3008', 'DL3013']) |
infoRules | array | Rule codes to treat as info (maps to --info) |
noFail | boolean | Always exit with 0 for informational-only runs (maps to --no-fail) |
path | string | Project root path |
patterns | array | Dockerfile paths to check (default: ['Dockerfile']) |
requireLabel | array | Required labels in Dockerfiles, e.g. ['maintainer:text'] (maps to --require-label) |
shell | string | Default shell for RUN instruction linting, e.g. '/bin/bash' (maps to --shell) |
strictLabels | boolean | Enforce strict label schema (maps to --strict-labels) |
trustedRegistries | array | Trusted Docker registries (e.g., ['docker.io', 'ghcr.io']) |
verbose | boolean | Enable verbose output (maps to --verbose) |
warningRules | array | Rule codes to treat as warnings (maps to --warning) |