Package: akitainu:source-static

Internal source package for statically defining what files to lint.

Example

To lint all .ts files in the src directory:

{
  rules: {
    source: ["akitainu:source-static", {
      files: ["./src/**/*.ts"]
    }],
    checker: /* ... */
  }
}

Options

files

files: string[];

Array of file names to lint. Relative paths are relative to baseDirectory. Glob patterns are supported.