linter-alex icon indicating copy to clipboard operation
linter-alex copied to clipboard

Allow files to be skipped via some repo-level configuration file

Open swinton opened this issue 7 years ago • 4 comments

Having the ability to skip files via some kind of .linter-alex.yml would be handy.

E.g.

---
skip:
- CODE_OF_CONDUCT.md

swinton avatar May 30 '18 01:05 swinton

Just dropping by to leave my 👍 for this.

https://github.com/probot/probot/pull/611/checks?check_run_id=6710790

All the probot repo's use the same CoC which triggers it. I would even consider suggesting ignoring CoC in the run entirely, considering the templates for all the major ones will trigger these checks.

hiimbex avatar Jul 06 '18 20:07 hiimbex

All the probot repo's use the same CoC which triggers it. I would even consider suggesting ignoring CoC in the run entirely, considering the templates for all the major ones will trigger these checks.

I second this, as we hit the same issue in Git for Windows: https://github.com/git-for-windows/git/pull/1756/checks?check_run_id=7019837

dscho avatar Jul 10 '18 12:07 dscho

Quick status update:

I want to get some good test coverage in place (#7) before working on enhancements. Once I have good coverage, this will be top of my list to tackle next.

swinton avatar Jul 19 '18 16:07 swinton

I just want to register my support for this request. Currently, my code-of-conduct.md file triggers linter-alex because it makes references to sexual harassment, etc. That's good, since that means it's working, but that's the one place I want to mention things like that.

4cm4k1 avatar Jul 26 '18 03:07 4cm4k1