We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8729d7 commit 177bf56Copy full SHA for 177bf56
.golangci.yml
@@ -19,9 +19,7 @@ linters:
19
- revive # replacement for golint
20
- dupl # check duplicated code
21
- goconst # check strings that can turn into constants
22
- - gofmt # check fmt
23
- goheader # Check license headers, only checks files in current year
24
- - goimports # check imports
25
- gocyclo # check complexity
26
settings:
27
gocyclo:
@@ -41,3 +39,7 @@ linters:
41
39
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42
40
See the License for the specific language governing permissions and
43
limitations under the License.
+formatters:
+ enable:
44
+ - goimports
45
+ - gofmt
0 commit comments