reasonml-old / reason-react-example

Examples for ReasonReact
649 stars 116 forks source link

JSON trailing comma issue as requested #13

Closed jbrownson closed 7 years ago

jbrownson commented 7 years ago

There's a comment at the top of bsconfig.json:

This is the BuckleScript configuration file. Note that this is a comment;
  BuckleScript comes with a JSON parser that supports comments and trailing
  comma. If this screws with your editor highlighting, please tell us by filing
  an issue!

I'm using VSCode and it red-squiggly-underlines the trailing commas. Doesn't really bother me but I'm posing since the comment asks me to.

cxa commented 7 years ago

This extension may help: https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-json5

chenglou commented 7 years ago

Sorry for the wait! Done.