rdio/jsfmt

json output broken

djcas9 opened this issue · 0 comments

dweb@dweb-linux helpers (master*) $ jsfmt -v --json websocket.jsx ~/source/go/src/github.com/criticalstack/csos-server/client/lib/helpers 255 ↵ websocket.jsx { Error: Line 8: Unexpected token == at throwError (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:2070:17) at throwUnexpected (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:2133:5) at consumeSemicolon (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:2214:9) at parseVariableStatement (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:3713:5) at parseStatement (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:4334:44) at parseSourceElement (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:5182:24) at parseFunctionSourceElements (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:4425:25) at parseFunctionExpression (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:4673:12) at parsePrimaryExpression (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:2857:20) at parseLeftHandSideExpressionAllowCall (/home/dweb/.npm/lib/node_modules/jsfmt/node_modules/esformatter/node_modules/espree/espree.js:2995:57) index: 138, lineNumber: 8, column: 11, description: 'Unexpected token ==' }