EvgeniyPeshkov / syntax-highlighter

Syntax Highlighter extension for Visual Studio Code (VSCode). Based on Tree-sitter.
https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter
MIT License
217 stars 43 forks source link

Remove an extra comma that leads to JSON parse error. #66

Open Symbolk opened 3 years ago

Symbolk commented 3 years ago

For the latest npm 7.20.5, this extra comma will lead to this error:

npm ERR! code EJSONPARSE
npm ERR! path /Users/symbolk/coding/vscode/syntax-highlighter/package.json
npm ERR! JSON.parse Unexpected token "]" (0x5D) in JSON at position 1239 while parsing near "...\r\n        \"D\",\r\n    ],\r\n    \"activationE..."
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
tajmone commented 2 years ago

This PR happens to be a duplicate of PR #69.