Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Re-enable eslint redeclare check for rest of file (#1140)
  • Loading branch information
IvanGoncharov authored and leebyron committed Dec 14, 2017
1 parent 1d90ad2 commit f39b0fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/execution/execute.js
Expand Up @@ -153,6 +153,7 @@ export function execute(
operationName,
fieldResolver,
) {
/* eslint-enable no-redeclare */
// Extract arguments from object args if provided.
return arguments.length === 1
? executeImpl(
Expand Down
1 change: 1 addition & 0 deletions src/graphql.js
Expand Up @@ -76,6 +76,7 @@ export function graphql(
operationName,
fieldResolver,
) {
/* eslint-enable no-redeclare */
// Always return a Promise for a consistent API.
return new Promise(resolve =>
resolve(
Expand Down
1 change: 1 addition & 0 deletions src/subscription/subscribe.js
Expand Up @@ -84,6 +84,7 @@ export function subscribe(
fieldResolver,
subscribeFieldResolver,
) {
/* eslint-enable no-redeclare */
// Extract arguments from object args if provided.
return arguments.length === 1
? subscribeImpl(
Expand Down

0 comments on commit f39b0fd

Please sign in to comment.