Why would you pass eslint a JSON file?
On 17 Jan 2015 01:43, "Mike Wilson" <[email protected]> wrote:
> I seem to get lint errors on the colon in json files (see below). Js files
> seem to work better.
> Any hints on what I can do to resolve this?
> I'm running through cygwin bash shell on Windows 8.
>
> $ cat >file.json
> {
> "jj": 0
> }
>
> $ eslint file.json
> file.json
> 2:6 error Unexpected token :
> ? 1 problem
>
> Thanks
> Mike
>
> --
> You received this message because you are subscribed to the Google Groups
> "ESLint" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.