zeeside/Duplicates Checker

Checks all files in a given scope for duplicate text that can be harmul when deployed

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
check_nameA name for this checkno
directory_scopeChecks for duplicates will be evaluated in the scope of this directoryyes
check_file_extensionChecks for duplicates will be done only for files with this extensionyes
content_regexThe regular expression to use in checking for contentyes
max_files_to_processThis threshold limits the number of files to scan. It's a safeguard against locking up your build by scanning too many files. Default is 500no500
max_file_size_bytesThis threshold limits the size of files to scan, to prevent memory overload. Default is 200Kbno200000
excluded_extensionsA comma delimited list of extensions to skip (extensions can include the dot prefix or not). This configuration allows skipping over files with certain extensionsno""
ignore_filesA comma delimited list of filenames to skip. This configuration allows skipping certain file names. Useful if you use the same settings in multiple environment configuration files.no""
ignore_paths_containingA comma delimited list of paths to skip. This configuration allows skipping certain paths. Useful if you have generated paths that have copies of files you do not want to check for duplicates.yes
error_messageThe message to output if duplicates are foundyes
namedescription
has_duplicatesTrue or false depending on if the check found duplicates
result_titleTitle caption of result summary
resultThe output after evaluating all checks
result_escapedThe output after evaluating all checks in escaped json format