Skip to content

import-shadowing

Default severity: warning

Detect declarations shadowing imports. Default: enabled.

json := loadConfig() // shadows the json import
encoded := json.Marshal(value)