Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide files with no violations in the HTML report #423

Open
yanli0303 opened this issue Jun 9, 2016 · 0 comments
Open

Hide files with no violations in the HTML report #423

yanli0303 opened this issue Jun 9, 2016 · 0 comments

Comments

@yanli0303
Copy link

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:

  1. Can we move the files with no violations to a collapsed section, or just don't display them?
  2. The file name displayed in HTML report is very long (up to the root), can we group files according to paths specified in include option? 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant