sindresorhus/refined-github

Feature request: ignore specific files in PR lines count #1395

mikiest posted onGitHub

Description

Add options/settings to ignore specific files (using pattern if possible) in the lines count in PRs.

Motivations

Changes in yarn.lock files, for example, can include thousands of lines, while actual code changes in the PR can be minimal.

screen shot 2018-07-02 at 11 01 35 am

It would be very useful to be able to remove that count from the PR summary, while still showing it somehow (maybe through a tooltip?).


This seems to be possible since the file filter does have this information per-file:

<img width="458" alt="" src="https://user-images.githubusercontent.com/1402241/84249452-0ed43680-ab0b-11ea-9349-6f8609b7836a.png">

But it still doesn't belong to Refined GitHub. If anyone is interested, please suggest it on https://github.com/sindresorhus/module-requests and mention it in:

https://github.com/sindresorhus/refined-github/pull/1085 (has the starting code) https://github.com/sindresorhus/refined-github/issues/1316 https://github.com/sindresorhus/refined-github/issues/1395 (current issue)

posted by fregante almost 5 years ago

Fund this Issue

$0.00
Funded

Pull requests