Example check
Here’s an example of a check that reads a file from disk, has dynamically returned messages, and auto-fix functionality.ensure-license.ts
Example test
We can test that the check accurately reads the file, returns the correct validation result, and that the auto-fix function correctly updates the file on disk.ensure-license.test.ts