Skip to content

Commit

Permalink
build(deps): bump eslint-plugin-flowtype from 5.3.1 to 5.4.0
Browse files Browse the repository at this point in the history
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases)
- [Commits](gajus/eslint-plugin-flowtype@v5.3.1...v5.4.0)

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and kodiakhq[bot] committed Mar 15, 2021
1 parent 0444de3 commit e624e72
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 169 deletions.
2 changes: 2 additions & 0 deletions src/eslint-config-adeira/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased

- Our custom rule `adeira/no-internal-flow-type` has been migrated to official `flowtype/no-internal-flow-type` (https://github.com/gajus/eslint-plugin-flowtype/pull/469). There should be no changes in behavior.

# 5.1.0

- New rule `relay/function-required-argument` enabled (warnings or errors in strict mode). See: https://github.com/relayjs/eslint-plugin-relay/pull/108
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ Object {
"adeira/flow-use-readonly-spread": 0,
"adeira/graphql-require-object-description": 1,
"adeira/no-duplicate-import-type-import": 2,
"adeira/no-internal-flow-type": 2,
"adeira/no-invalid-flow-annotations": 2,
"adeira/only-nullable-fields": 2,
"adeira/relay-import-no-values": 2,
Expand Down Expand Up @@ -139,6 +138,7 @@ Object {
"flowtype/no-dupe-keys": 2,
"flowtype/no-existential-type": 2,
"flowtype/no-flow-fix-me-comments": 0,
"flowtype/no-internal-flow-type": 2,
"flowtype/no-mixed": 0,
"flowtype/no-mutable-array": 0,
"flowtype/no-primitive-constructor-types": 1,
Expand Down
2 changes: 1 addition & 1 deletion src/eslint-config-adeira/ourRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ module.exports = ({
'flowtype/no-dupe-keys': 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,
'flowtype/no-mixed': OFF,
'flowtype/no-mutable-array': OFF,
'flowtype/no-primitive-constructor-types': WARN,
Expand Down Expand Up @@ -709,7 +710,6 @@ module.exports = ({
'adeira/flow-use-readonly-spread': OFF, // opt-in when needed
'adeira/graphql-require-object-description': WARN,
'adeira/no-duplicate-import-type-import': ERROR,
'adeira/no-internal-flow-type': ERROR,
'adeira/no-invalid-flow-annotations': ERROR,
'adeira/only-nullable-fields': ERROR,
'adeira/relay-import-no-values': ERROR,
Expand Down
2 changes: 1 addition & 1 deletion src/eslint-config-adeira/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-adeira": "^0.12.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-flowtype": "^5.3.1",
"eslint-plugin-flowtype": "^5.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
Expand Down
4 changes: 0 additions & 4 deletions src/eslint-plugin-adeira/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ Then configure the rules you want to use under the rules section:

# Rules

## `no-internal-flow-type`

Prefers `React.Node` over `React$Node` types.

## `no-invalid-flow-annotations`

This rule disallows `@noflow` and `@flow weak` annotations. The only valid annotations are `@flow`, `@flow strict` and `@flow strict-local`.
Expand Down
1 change: 0 additions & 1 deletion src/eslint-plugin-adeira/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = {
'flow-use-readonly-spread': require('./rules/flow-use-readonly-spread'),
'graphql-require-object-description': require('./rules/graphql-require-object-description'),
'no-duplicate-import-type-import': require('./rules/no-duplicate-import-type-import'),
'no-internal-flow-type': require('./rules/no-internal-flow-type'),
'no-invalid-flow-annotations': require('./rules/no-invalid-flow-annotations'),
'only-nullable-fields': require('./rules/only-nullable-fields'),
'relay-import-no-values': require('./rules/relay-import-no-values'),
Expand Down

This file was deleted.

58 changes: 0 additions & 58 deletions src/eslint-plugin-adeira/src/rules/no-internal-flow-type.js

This file was deleted.

8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7789,10 +7789,10 @@ eslint-plugin-eslint-comments@^3.2.0:
escape-string-regexp "^1.0.5"
ignore "^5.0.5"

eslint-plugin-flowtype@^5.3.1:
version "5.3.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-5.3.1.tgz#df6227e28c61d967b825c1327a27818bbb2ad325"
integrity sha512-mziJD+zw+VTwLtF9qLIxYac0GJCbSEDyqMLP5ENzQeNY5EOxbAfitMFLo+UItjYOISQdh1BCobwE2d4i1o+9Rw==
eslint-plugin-flowtype@^5.4.0:
version "5.4.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-5.4.0.tgz#a559526e56403cb97b470b524957fc526e2485fe"
integrity sha512-O0s0iTT5UxYuoOpHMLSIO2qZMyvrb9shhk1EM5INNGtJ2CffrfUmsnh6TVsnoT41fkXIEndP630WNovhoO87xQ==
dependencies:
lodash "^4.17.15"
string-natural-compare "^3.0.1"
Expand Down

0 comments on commit e624e72

Please sign in to comment.