Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into new sdk main #2925

Merged

Commits on May 19, 2022

  1. Use already enabled revive linter and add depguard (open-telemetry#2883)

    * Refactor golangci-lint conf
    
    Order settings alphabetically.
    
    * Add revive settings to golangci conf
    
    * Check blank imports
    
    * Check bool-literal-in-expr
    
    * Check constant-logical-expr
    
    * Check context-as-argument
    
    * Check context-key-type
    
    * Check deep-exit
    
    * Check defer
    
    * Check dot-imports
    
    * Check duplicated-imports
    
    * Check early-return
    
    * Check empty-block
    
    * Check empty-lines
    
    * Check error-naming
    
    * Check error-return
    
    * Check error-strings
    
    * Check errorf
    
    * Stop ignoring context first arg in tests
    
    * Check exported comments
    
    * Check flag-parameter
    
    * Check identical branches
    
    * Check if-return
    
    * Check increment-decrement
    
    * Check indent-error-flow
    
    * Check deny list of go imports
    
    * Check import shadowing
    
    * Check package comments
    
    * Check range
    
    * Check range val in closure
    
    * Check range val address
    
    * Check redefines builtin id
    
    * Check string-format
    
    * Check struct tag
    
    * Check superfluous else
    
    * Check time equal
    
    * Check var naming
    
    * Check var declaration
    
    * Check unconditional recursion
    
    * Check unexported return
    
    * Check unhandled errors
    
    * Check unnecessary stmt
    
    * Check unnecessary break
    
    * Check waitgroup by value
    
    * Exclude deep-exit check in example*_test.go files
    MrAlias authored May 19, 2022
    Configuration menu
    Copy the full SHA
    1f5b159 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. Move the minimum version to go 1.17 (open-telemetry#2917)

    * Move the minimum version to go 1.17
    
    * Update readme and changelog
    
    Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
    MadVikingGod and hanyuancheung authored May 25, 2022
    Configuration menu
    Copy the full SHA
    7458aa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef2fa6c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d5e5ba5 View commit details
    Browse the repository at this point in the history
  4. Make lint

    MrAlias committed May 25, 2022
    Configuration menu
    Copy the full SHA
    8545d32 View commit details
    Browse the repository at this point in the history