streetsidesoftware/cspell-action

Spell Checker for Code

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
filesDefine glob patterns to filter the files to be checked. Use a new line between patterns to define multiple patterns. The default is to check ALL files that were changed in in the pull_request or push. Note: `ignorePaths` defined in cspell.json still apply. no
incremental_files_onlyLimit the files checked to the ones in the pull request or push. notrue
configPath to CSpell configuration file, i.e. `cspell.json` or `cspell.config.yaml`. If not provided, the spell checker will search for the nearest configuration file. no
rootThe point in the directory tree to start spell checking. no
inlineNotification level to use with inline reporting of spelling errors. Allowed values are: warning, error, none nowarning
treat_flagged_words_as_errorsTreat flagged / forbidden words as errors. Allowed values are: true, false false
strictDetermines if the action should be failed if any spelling issues are found. Allowed values are: true, false notrue
suggestionsGenerate Spelling suggestions. nofalse
verboseIncrease the log output to include progress. Allowed values are: true, false nofalse
check_dot_filesCheck files and directories starting with `.`. - "true" - glob searches will match against `.dot` files. - "false" - `.dot` files will NOT be checked. - "explicit" - glob patterns can match explicit `.dot` patterns. noexplicit
use_cspell_filesUse the `files` setting from the CSpell configuration file. - "true" - Overrides the `input.files` setting. - "false" - Use the `input.files` setting. nofalse
reportSet how unknown words are reported. - "all" - all issues are reported. - "simple" - only unknown words are reported. - "typos" - only typos are reported. - "flagged" - only flagged words are reported. no
summaryInclude a summary of the results in the output. Allowed values are: "true", "false" nofalse
namedescription
success"true" if no spelling issues were found, otherwise "false".
number_of_files_checkedThe actual number of files that were checked.
number_of_issuesThe number of issues found.
number_of_files_with_issuesThe number of files that had issues.
number_of_files_skippedThe number of files that were skipped.
number_of_files_cachedThe number of files where the results were taken from the cache.
errorsThe number of errors found. This is the number issues found or configuration errors.
files_with_issuesList of files with issues. Use `fromJSON()` to decode. The files are relative to the repository root.
resultsThe JSON encoded results.