Skip to content

Update jscpd config schema#5909

Open
Nick2bad4u wants to merge 1 commit into
SchemaStore:masterfrom
Nick2bad4u:schema/jscpd-config
Open

Update jscpd config schema#5909
Nick2bad4u wants to merge 1 commit into
SchemaStore:masterfrom
Nick2bad4u:schema/jscpd-config

Conversation

@Nick2bad4u

Copy link
Copy Markdown
Contributor

Summary

  • refresh the jscpd format suggestions from the current upstream tokenizer format list
  • add current config options and compatibility fields such as noTips, noColors, formatsNames, storePath, noGitignore, and symlink/gitignore aliases
  • add current built-in reporters and reporter aliases including badge, sarif, ai, console-full, and full, while still allowing third-party reporters
  • broaden formatsExts / formatsNames to support object, array, and mapping-string forms accepted by current jscpd config handling
  • add a positive test covering the newer options and v5 kebab-case config aliases

Notes

workers is intentionally not added here. It is a v5 CLI option, but the current Rust .jscpd.json config loader does not deserialize it as a config-file field.

Primary upstream references checked:

Validation

  • node ./cli.js check --schema-name=jscpd.json
  • git diff --check

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant