prodlint 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -35,6 +35,8 @@ interface Rule {
35
35
  severity: Severity;
36
36
  fileExtensions: string[];
37
37
  check(file: FileContext, project: ProjectContext): Finding[];
38
+ /** Optional project-level analysis after all per-file checks complete */
39
+ checkProject?(files: FileContext[], project: ProjectContext): Finding[];
38
40
  }
39
41
  interface CategoryScore {
40
42
  category: Category;