lunixbochs/sublimelint — Issue #20: Ruby hash assignment syntax
Author: Breefield
Created: 2012-01-24 17:25:19+00:00
State: open

I get this problem a fair bit when working with other people's Ruby on Rails apps.

I tend to define my hashes (and parameter passing in the format of:
````{:key1 => 'value1', :key2 => 'value2'}

But apparently you can also do the same like this:
````{key1: 'value1', key2: 'value2'}

Sublimelint marks the as second as incorrect, I was wondering if anyone knew what could/needs to be done to acknowledge this working syntax.