OpenPeeDeeP / depguard

Go linter that checks if package imports are in a list of acceptable packages.
GNU General Public License v3.0
138 stars 15 forks source link

Use directories in `files` #84

Open qwerty287 opened 8 months ago

qwerty287 commented 8 months ago

Hi, currently, it seems to be not possible to write a directory that's fully scanned, but you must use a glob that resolves into files.

What I'd like to do:

        files:
          - "**/somedir/" # instead of "**/somedir/**/*.go"

Thanks!