-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
enhancementNew feature or improvementNew feature or improvementlinter: customAbout custom/private lintersAbout custom/private linters
Description
Is your feature request related to a problem? Please describe.
I'm working on a custom private linter which checks that if main.go has some specific imports from our company's code base. It would be nice if I can config the imports names in settings like other public linters. Now I have to hard code.
Describe the solution you'd like
The config file may look like this (part of it):
linters:
enable:
- gocheckimports
linters-settings:
custom:
gocheckimports:
path: ./gocheckimports.so
description: check imports
settings:
key1: value1
key2: value2
ian-h-chamberlain, dsxack, bcho and cschleiden
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvementlinter: customAbout custom/private lintersAbout custom/private linters