Skip to content

Commit

Permalink
feat: add flow types
Browse files Browse the repository at this point in the history
These are incomplete, but cover common surface area.
  • Loading branch information
Eli Skeggs committed Feb 25, 2020
1 parent 08c2267 commit 793b624
Show file tree
Hide file tree
Showing 4 changed files with 623 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"no-var": "error",
"prefer-const": "error"
},
"overrides": [{ "files": ["test/**/*.js"], "parserOptions": { "ecmaVersion": 2018 } }]
"overrides": [
{ "files": ["test/**/*.js"], "parserOptions": { "ecmaVersion": 2018 } },
{ "files": ["index.js.flow"], "parser": "babel-eslint", "rules": { "no-unused-vars": "off" } }
]
}
Loading

0 comments on commit 793b624

Please sign in to comment.