Comments after array items
This code segment gets improperly linted:
proxy_set_header => [
'Host $http_host:8043',
'X-Real-IP $remote_addr',
'X-Forwarded-For $proxy_add_x_forwarded_for',
'Cookie $http_cookie',
'X-Forwarded-Proto $scheme',
'Upgrade $http_upgrade', #websockets
'Connection "Upgrade"', #websockets
],
Linter tries to put a newline before the comment.
Obviously the comment needs to stay on the same line as the item.