Enable usestdlibvars linter and fix all violations
#4978
Merged
usestdlibvars linter and fix all violations
#4978