(severity: HyperframeLintFinding["severity"])
| 15 | ): ProjectLintResult { |
| 16 | const all = files.flatMap((f) => f.findings); |
| 17 | const count = (severity: HyperframeLintFinding["severity"]) => |
| 18 | all.filter((f) => f.severity === severity).length; |
| 19 | return { |
| 20 | results: files.map(({ file, findings }) => ({ |
| 21 | file, |