File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
parserOptions :
2
2
sourceType : script
3
3
env :
4
- node : true
5
4
es2022 : true
6
5
reportUnusedDisableDirectives : true
7
6
plugins :
@@ -663,19 +662,25 @@ overrides:
663
662
import/no-restricted-paths : off
664
663
import/no-extraneous-dependencies : [error, { devDependencies: true }]
665
664
- files : ' integrationTests/*'
665
+ env :
666
+ node : true
666
667
rules :
667
668
node/no-sync : off
668
669
node/no-unpublished-require : [error, { allowModules: ['mocha'] }]
669
670
import/no-extraneous-dependencies : [error, { devDependencies: true }]
670
671
import/no-nodejs-modules : off
671
672
- files : ' integrationTests/*/**'
673
+ env :
674
+ node : true
672
675
rules :
673
676
node/no-sync : off
674
677
node/no-missing-require : [error, { allowModules: ['graphql'] }]
675
678
import/no-commonjs : off
676
679
import/no-nodejs-modules : off
677
680
no-console : off
678
681
- files : ' benchmark/**'
682
+ env :
683
+ node : true
679
684
rules :
680
685
internal-rules/only-ascii : [error, { allowEmoji: true }]
681
686
node/no-sync : off
@@ -685,6 +690,8 @@ overrides:
685
690
no-console : off
686
691
no-await-in-loop : off
687
692
- files : ' resources/**'
693
+ env :
694
+ node : true
688
695
rules :
689
696
internal-rules/only-ascii : [error, { allowEmoji: true }]
690
697
node/no-unpublished-require : off
@@ -702,6 +709,8 @@ overrides:
702
709
node/no-unpublished-import : off
703
710
import/no-default-export : off
704
711
- files : ' website/**'
712
+ env :
713
+ node : true
705
714
plugins :
706
715
- ' react'
707
716
extends :
Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ import { inspect } from './inspect';
7
7
* See: https://webpack.js.org/guides/production/
8
8
*/
9
9
export const instanceOf : ( value : unknown , constructor : Constructor ) => boolean =
10
- /* c8 ignore next 5 */
10
+ /* c8 ignore next 6 */
11
11
// FIXME: https://github.com/graphql/graphql-js/issues/2317
12
+ // eslint-disable-next-line no-undef
12
13
process . env . NODE_ENV === 'production'
13
14
? function instanceOf ( value : unknown , constructor : Constructor ) : boolean {
14
15
return value instanceof constructor ;
You can’t perform that action at this time.
0 commit comments