Paths must resolve to a file that has a check
object as it’s
default export
Checks local to your project
You can configure paths to files relative to the.commonality/config.json
file.
You can omit the
./
prefix when configuring checks local to your project..commonality/config.json
Checks exported from a package
You can configure paths that resolve to files exported from a package. We use import-meta-resolve to resolve import paths.Packages prefixed with
commonality-checks-
can omit the prefix as a shorthand when configuring checks..commonality/config.json