Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit 3d1048f

Browse files
Upgrade eslint-plugin-flowtype
1 parent d48b56a commit 3d1048f

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"Vladimir Vanek <[email protected]>"
1616
],
1717
"dependencies": {
18-
"eslint-plugin-flowtype": "^2.36.0",
18+
"eslint-plugin-flowtype": "^2.39.1",
1919
"eslint-plugin-import": "^2.7.0",
2020
"eslint-plugin-jsx-a11y": "^6.0.2",
2121
"eslint-plugin-react": "^7.4.0"

unused.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ module.exports = {
167167

168168
// eslint-plugin-flowtype
169169

170+
// Requires use of $ReadOnlyArray instead of just Array or array shorthand notation
171+
// Unused, not sure about its benefits and probably too restrictive.
172+
'no-mutable-array': 0,
173+
170174
// Enforces sorting of Object annotations.
171175
// This rule mirrors ESlint's sort-keys rule.
172176
'flowtype/sort-keys': 0,

0 commit comments

Comments
 (0)