Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • V Velero
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 小 白蛋
  • Velero
  • Repository
Switch branch/tag
  • velero
  • .github
  • workflows
  • pr-linter-check.yml
Find file BlameHistoryPermalink
  • Tony Batard's avatar
    Add linter (#2615) · b9688130
    Tony Batard authored Jun 30, 2020
    
    
    * Add linter to Makefile and build image
    
    * Also make it part of verify step
    Signed-off-by: default avatarTony Batard <tbatard@pivotal.io>
    
    * clean up of Makefile and permissions for .go/golangci-lint
    Signed-off-by: default avatarDuffie Cooley <cooleyd@vmware.com>
    
    * changed verify-lint.sh to lint.sh to avoid breaking ci
    Signed-off-by: default avatarmtritabaugh <mtritabaugh@vmware.com>
    
    * Add changelog
    Signed-off-by: default avatarTony Batard <tbatard@pivotal.io>
    
    * Add LINTERS option to run only specific linters
    
    * e.g. make lint LINTERS=unused,deadcode
    Signed-off-by: default avatarTony Batard <tbatard@pivotal.io>
    
    * adding timeout to golangci-lint, and checking cache
    Signed-off-by: default avatarMatyas Danter <mdanter@vmware.com>
    
    * Fixed some formatting and added comments
    Signed-off-by: default avatarMatyas Danter <mdanter@vmware.com>
    
    * modifying lint script to use golangci.yaml
    Signed-off-by: default avatarMatyas Danter <mdanter@vmware.com>
    
    * update to move default linters to Makefile
    Signed-off-by: default avatarmtritabaugh <mtritabaugh@vmware.com>
    
    * Adding documentation for lint make targets.
    Signed-off-by: default avatarMatyas Danter <mdanter@vmware.com>
    
    * Update Copyright with current year
    Signed-off-by: default avatarTony Batard <tbatard@pivotal.io>
    
    * initial git workflow commit
    Signed-off-by: default avatarmtritabaugh <mtritabaugh@vmware.com>
    
    * Added lint-all target and implemented -n as default
    
    * Added a local-lint-all and lint-all target that will show lint errors
    for all of the codebase
    * changed the default of lint and local-lint to only show new lint
    errors
    Signed-off-by: default avatarDuffie Cooley <cooleyd@vmware.com>
    
    * updated docs to reflect new target
    Signed-off-by: default avatarmtritabaugh <mtritabaugh@vmware.com>
    Co-authored-by: default avatarDuffie Cooley <cooleyd@vmware.com>
    Co-authored-by: default avatarmtritabaugh <mtritabaugh@vmware.com>
    Co-authored-by: default avatarMatyas Danter <mdanter@vmware.com>
    b9688130

免费DevSecOps平台,让您的项目体验完整的DevSecOps流程,让项目更安全