Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump eslint-plugin-relay from 1.7.1 to 1.8.0 #850

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -847,6 +847,7 @@ Object {
"relay/graphql-naming": 2,
"relay/graphql-syntax": 2,
"relay/hook-required-argument": 2,
"relay/must-colocate-fragment-spreads": 1,
"relay/no-future-added-value": 2,
"relay/unused-fields": 2,
"require-atomic-updates": 2,
Expand Down Expand Up @@ -946,4 +947,9 @@ Snapshot Diff:
- "no-unreachable-loop": 1,
+ "no-unreachable-loop": 2,
"no-unsafe-finally": 2,
@@ --- --- @@
"relay/hook-required-argument": 2,
- "relay/must-colocate-fragment-spreads": 1,
+ "relay/must-colocate-fragment-spreads": 2,
"relay/no-future-added-value": 2,
`;
1 change: 1 addition & 0 deletions src/eslint-config-adeira/ourRules.js
Expand Up @@ -521,6 +521,7 @@ module.exports = {
'relay/graphql-naming': ERROR,
'relay/graphql-syntax': ERROR,
'relay/hook-required-argument': ERROR,
'relay/must-colocate-fragment-spreads': NEXT_VERSION_ERROR, // TODO: Error
'relay/no-future-added-value': ERROR,
'relay/unused-fields': ERROR,

Expand Down
2 changes: 1 addition & 1 deletion src/eslint-config-adeira/package.json
Expand Up @@ -24,7 +24,7 @@
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-relay": "^1.7.1",
"eslint-plugin-relay": "^1.8.0",
"prettier": "^2.0.5"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions src/relay/src/__flowtests__/CustomQueryRenderer.js
@@ -1,5 +1,7 @@
// @flow

/* eslint-disable relay/must-colocate-fragment-spreads */

import * as React from 'react';
import type { GraphQLTaggedNode } from '@adeira/relay-runtime';

Expand Down
@@ -1,5 +1,7 @@
// @flow

/* eslint-disable relay/must-colocate-fragment-spreads */

import * as React from 'react';

import { createPaginationContainer, graphql } from '../index';
Expand Down
2 changes: 2 additions & 0 deletions src/relay/src/__flowtests__/createPaginationContainer.js
@@ -1,5 +1,7 @@
// @flow

/* eslint-disable relay/must-colocate-fragment-spreads */

import { useEffect } from 'react';

import { createPaginationContainer, graphql, type PaginationRelayProp } from '../index';
Expand Down
@@ -1,5 +1,7 @@
// @flow

/* eslint-disable relay/must-colocate-fragment-spreads */

import * as React from 'react';

import { createRefetchContainer, graphql } from '../index';
Expand Down
2 changes: 2 additions & 0 deletions src/relay/src/__flowtests__/createRefetchContainer.js
@@ -1,5 +1,7 @@
// @flow

/* eslint-disable relay/must-colocate-fragment-spreads */

import { createRefetchContainer, graphql, type RefetchRelayProp } from '../index';

type Props = {|
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -5913,10 +5913,10 @@ eslint-plugin-react@^7.20.3:
resolve "^1.17.0"
string.prototype.matchall "^4.0.2"

eslint-plugin-relay@^1.7.1:
version "1.7.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-relay/-/eslint-plugin-relay-1.7.1.tgz#70f479becb06320e57dd86ebc0d38938cb8a5e6e"
integrity sha512-K7j5BF8raseLfgA97udZMGKEtWan+y5BLrBYlApy952saStF0ghYzU9WElIwoVIkcBO8QP+pT4AOuNFFNRzcUw==
eslint-plugin-relay@^1.8.0:
version "1.8.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-relay/-/eslint-plugin-relay-1.8.0.tgz#c5e709464b5307077ff4ccdda554e895301b7c40"
integrity sha512-5Qs0ozgS51RdifMBM2RtGNQWqpBW73VY0woDUluL7rGthlkrt/95hXjdXwKJheUIok0AOUGGMG3ra8PerIXLtQ==
dependencies:
graphql "^14.0.0 || ^15.0.0-rc.1"

Expand Down