I realized this is caused by an error (a comma before closing } ) from the .solhint.json file I'm editing. However it's best to catch the error and provide a more meaningful message to user.
Uncaught SyntaxError: Unexpected token } in JSON at position 169
At file:///usr/share/atom/resources/app.asar/static/index.html:8
SyntaxError: Unexpected token } in JSON at position 169
at JSON.parse (<anonymous>)
at /packages/atom-solidity-linter/lib/helpers.js:28:71
at tryToString (fs.js:426:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12)
I realized this is caused by an error (a comma before closing } ) from the .solhint.json file I'm editing. However it's best to catch the error and provide a more meaningful message to user.
[Enter steps to reproduce:]
Atom: 1.23.3 x64 Electron: 1.6.15 OS: Ubuntu 17.10 Thrown From: atom-solidity-linter package 0.0.9
Stack Trace
Uncaught SyntaxError: Unexpected token } in JSON at position 169
Commands
Non-Core Packages