eslint-plugin-flowtype & upgrade to eslint@4 (#849)

* Add eslint-plugin-flowtype. Fix #844

Using the recommended settings for plugin.
This involved adding some spaces to some existing union types.

* Upgrade to eslint@4, fix spotted bugs

Switched to indent-legacy to allow e.g. comments to have extra indents.
This commit is contained in:
Erik Demaine
2017-09-07 11:06:26 +09:00
committed by Kevin Barabash
parent cb7f166a7e
commit 588f5a1ee6
8 changed files with 23 additions and 14 deletions

View File

@@ -26,7 +26,8 @@
"babelify": "^7.3.0",
"browserify": "^13.3.0",
"clean-css": "^3.4.23",
"eslint": "^3.13.0",
"eslint": "^4.6.1",
"eslint-plugin-flowtype": "^2.35.1",
"express": "^4.14.0",
"flow-bin": "^0.54.0",
"glob": "^7.1.1",