Shopify / tslint-config-shopify

Shopify’s TypeScript rules and configs.
https://www.npmjs.com/package/tslint-config-shopify
37 stars 3 forks source link

Add fixer for trailing-comma-interface rule #62

Closed ismail-syed closed 7 years ago

ismail-syed commented 7 years ago

This fixer will help with integrating prettier into our formatting/linting, if we decide to go with it.

Related to https://github.com/Shopify/tslint-config-shopify/issues/51

ismail-syed commented 7 years ago

@GoodForOneFare This is good for another quick 👀

ismail-syed commented 7 years ago

Ek, my apologies. I need to read better :/

I'll get that fixed soon. At the gym 10x'ing my fitness atm. Haha, lol.

ismail-syed commented 7 years ago

Added back the test case without the comma. Updated the rule as well because

moe: number

would get fixed to

moe: numbe,

Good catch Gord, thanks! 😄