github.com/KEINOS/go-countline@v1.1.1-0.20221217083629-60710df7606b/.golangci.yml (about) 1 # This file contains configuration options for GolangCI-Lint. 2 # 3 # - Version: golangci-lint @latest (currntly: v1.50.1) 4 # - Note: 5 # Usually, it is not recommended to use the latest version of `golangci-lint`. 6 # However, in our case, we use the latest version to ensure that the linter 7 # configuration is always up-to-date by running the test periodically in CI. 8 # - Available linters see: https://golangci-lint.run/usage/linters/ 9 10 # options for analysis running 11 run: 12 tests: true 13 fast: true 14 build-tags: 15 - golangci 16 skip-dirs: 17 - .github 18 allow-parallel-runners: true 19 20 output: 21 format: colored-line-number 22 sort-results: true 23 24 linters: 25 enable-all: true 26 disable: 27 # Deprecated linters 28 - exhaustivestruct 29 - nosnakecase 30 - ifshort 31 - interfacer 32 - scopelint 33 - deadcode 34 - structcheck 35 - golint 36 - maligned 37 - varcheck 38 # Allow test packages without "_test" suffix due to testing private functions 39 - testpackage 40 41 linters-settings: 42 funlen: 43 # Checks the number of lines in a function. 44 # Default: 60 45 lines: 70