Nuclide supposedly supports error checking, but I can't figure out how to set it up.
- I have a fresh install of Atom
- I installed Nuclide via
apm install nuclide-installer
- I've verified Hack is installed correctly by running
hh_client
from my project dir on the commandline and it does report errors - I have an
.hhconfig
in my project root, but it's empty (no idea what to put inside it) - Watchman is installed
No errors are displayed in the IDE (see screenshot). Is there something else I have to do?
$ atom --version
1.0.11
$ hh_client
hacktest.php:4:10,21: Invalid return type (Typing[4110])
hacktest.php:3:22,24: This is an int
hacktest.php:4:10,21: It is incompatible with a string
hacktest.php:9:1,0: Expected ; (Parsing[1002])
$ watchman --version
3.7.0
$ stat .hhconfig
File: ‘.hhconfig’
Size: 0 Blocks: 16 IO Block: 4096 regular empty file