Configuration Examples: only - check-spelling/check-spelling GitHub Wiki

only Examples

# Only process perl / JavaScript / Python files
\.pl$
\.js$
\.py$

â„šī¸ The syntax of this file is identical to the one for excludes. You can look at Configuration Examples: excludes for more examples.

Purpose

only is used to limit which files check-spelling will check to only files that match one of the listed patterns.