Skip to content

Commit

Permalink
Fix #47, add support for comments and brackets for JSX
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 24, 2015
1 parent 7936850 commit ebbbee2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions extensions/javascript/javascript.configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"comments": {
"lineComment": "//",
"blockComment": [ "/*", "*/" ]
},
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
]
}
3 changes: 2 additions & 1 deletion extensions/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"languages": [{
"id": "javascriptreact",
"aliases": ["JavaScript React","jsx"],
"extensions": [".jsx"]
"extensions": [".jsx"],
"configuration": "./javascript.configuration.json"
},
{
"id": "javascript",
Expand Down

0 comments on commit ebbbee2

Please sign in to comment.