joeyjiron06 / intellij-auto-align

A code formatter intellij plugin
0 stars 2 forks source link

formatting json doesnt work #6

Closed joeyjiron06 closed 8 years ago

joeyjiron06 commented 8 years ago

i try to auto-align this and it doesnt work as expected

export default {
  "HOME_HERO_AREA" : "home__hero-area",
  "HOME_MY_VUE_STRAND" : "home__my-vue-strand",
  "HOME_GRID_AREA" : "home__grid-area",
  "PDP_HERO_AREA" : "[data-element-id='pdp__hero-area']",
  "PDP_META_DATA_AREA": "[data-element-id='pdp__meta-area']",
  "PDP_SEASONS_AREA": "[data-element-id='pdp__seasons-area']",
  "PDP_RELATE_CONTENT_AREA": "[data-element-id='pdp__related-content-area']"
};

possibly because we are checking if line starts with a quote

joeyjiron06 commented 8 years ago

fixed in 1.2