I cloned the repo and started playing with the code locally but I ran into some problems just getting it to build. Perhaps this isn't causing a problem for anyone currently, but I suspect if you were to remove the node_modules/ folder and globally remove your versions of babel-eslint you might encounter the same problems I ran across.
It seems there was a bug in babel-eslint that doesn't play well with Flow, but it was corrected in version 8.1.1. For me it was causing the npm test command to fail. Anyway, a simple upgrade of that package fixed it.
Additionally, I ran into an error when building Spected that looked like a simple CommonJs failure to recognize the Object rest spread operator. I fixed it by moving the rollup commonjs() call (in the rollup.config.js) so that it comes after the babel() transpile step.
I cloned the repo and started playing with the code locally but I ran into some problems just getting it to build. Perhaps this isn't causing a problem for anyone currently, but I suspect if you were to remove the
node_modules/
folder and globally remove your versions ofbabel-eslint
you might encounter the same problems I ran across.It seems there was a bug in
babel-eslint
that doesn't play well with Flow, but it was corrected in version 8.1.1. For me it was causing thenpm test
command to fail. Anyway, a simple upgrade of that package fixed it.Additionally, I ran into an error when building Spected that looked like a simple CommonJs failure to recognize the Object rest spread operator. I fixed it by moving the rollup
commonjs()
call (in therollup.config.js
) so that it comes after thebabel()
transpile step.Hope this is helpful.