Skip to content

Commit

Permalink
Bump eslint-plugin-flowtype from 6.0.1 to 6.1.0
Browse files Browse the repository at this point in the history
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases)
- [Commits](gajus/eslint-plugin-flowtype@v6.0.1...v6.1.0)

 ---
updated-dependencies:
- dependency-name: eslint-plugin-flowtype
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

adeira-source-id: b25e6f9db0e1f99f40f9aece716c83b6d64276de
  • Loading branch information
dependabot[bot] authored and adeira-github-bot committed Sep 22, 2021
1 parent 5143e3f commit 21b1d08
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased

- New rule [`flowtype/no-duplicate-type-union-intersection-members`](https://github.com/gajus/eslint-plugin-flowtype/blob/1c1c009ba2a58b9660d43c43750396bef8d73904/.README/rules/no-duplicate-type-union-intersection-members.md) has been enabled (as warnings or errors in strict mode).

# 6.5.1

- Dependency `eslint-plugin-react` was temporarily pined to version 7.25.1 because of a new issue with FBT tags: https://github.com/yannickcr/eslint-plugin-react/issues/3080
Expand Down
6 changes: 6 additions & 0 deletions __tests__/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ Object {
"always",
],
"flowtype/no-dupe-keys": 2,
"flowtype/no-duplicate-type-union-intersection-members": 1,
"flowtype/no-existential-type": 2,
"flowtype/no-flow-fix-me-comments": 0,
"flowtype/no-internal-flow-type": 2,
Expand Down Expand Up @@ -1083,6 +1084,11 @@ Snapshot Diff:
+ "fb-flow/use-exact-by-default-object-type": 2,
+ "fb-flow/use-flow-enums": 2,
"fb-flow/use-indexed-access-type": 0,
@@ --- --- @@
"flowtype/no-dupe-keys": 2,
- "flowtype/no-duplicate-type-union-intersection-members": 1,
+ "flowtype/no-duplicate-type-union-intersection-members": 2,
"flowtype/no-existential-type": 2,
@@ --- --- @@
"import/no-nodejs-modules": 0,
- "import/no-relative-packages": 1,
Expand Down
1 change: 1 addition & 0 deletions __tests__/__snapshots__/presets.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ Object {
"always",
],
"flowtype/no-dupe-keys": 2,
"flowtype/no-duplicate-type-union-intersection-members": 1,
"flowtype/no-existential-type": 2,
"flowtype/no-flow-fix-me-comments": 0,
"flowtype/no-internal-flow-type": 2,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"eslint-plugin-adeira": "^0.14.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-fb-flow": "^0.0.4",
"eslint-plugin-flowtype": "^6.0.1",
"eslint-plugin-flowtype": "^6.1.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
Expand Down
1 change: 1 addition & 0 deletions src/presets/flowtype.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = ({
'flowtype/interface-id-match': OFF,
'flowtype/newline-after-flow-annotation': [ERROR, 'always'],
'flowtype/no-dupe-keys': ERROR,
'flowtype/no-duplicate-type-union-intersection-members': NEXT_VERSION_ERROR,
'flowtype/no-existential-type': ERROR, // https://github.com/facebook/flow/issues/6308
'flowtype/no-flow-fix-me-comments': OFF,
'flowtype/no-internal-flow-type': ERROR,
Expand Down

0 comments on commit 21b1d08

Please sign in to comment.