hlint code style improvements