tailor
tailor copied to clipboard
Hide files with no violations in the HTML report
Tailor Version: v0.10.0
Swift Version: 2.2
Platform (Mac/Linux/Windows/CI): Mac
Installation Method: Homebrew
Feature request: If I have a lot of code files and only a few contain violations, in the generated HTML report, I see a very long file list as in:
- /Users/Shared/Jenkins/workspace/project/module1/file1.swift — 0 violations
- /Users/Shared/Jenkins/workspace/project/module2/file2.swift — 0 violations
I want to have two changes:
- Can we move the files with no violations to a collapsed section, or just don't display them?
- The file name displayed in HTML report is very long (up to the root), can we group files according to paths specified in
includeoption? for example: I have a config file like this:
include:
- project/module1
- project/module2
format: html
Can we display the file names in HTML report like this:
- project/module1
- file1.swift — 0 violations
- file2.swift — 0 violations
- project/module2
- file3.swift — 0 violations
- file4.swift — 0 violations