File tree Expand file tree Collapse file tree 5 files changed +555
-392
lines changed
Expand file tree Collapse file tree 5 files changed +555
-392
lines changed Original file line number Diff line number Diff line change 11import eslint from '@eslint/js' ;
2+ import { configs as graphqlConfigs } from '@graphql-eslint/eslint-plugin' ;
23import globals from 'globals' ;
34import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended' ;
45import tseslint from 'typescript-eslint' ;
5- import { flatConfigs as graphqlFlatConfigs } from '@graphql-eslint/eslint-plugin' ;
6- const graphqlOperations = graphqlFlatConfigs [ ' operations-recommended'] ;
6+
7+ const graphqlOperations = graphqlConfigs [ 'flat/ operations-recommended'] ;
78
89export default tseslint . config (
910 {
Original file line number Diff line number Diff line change 3333 "@eslint/js" : " ^10.0.1" ,
3434 "@graphprotocol/graph-cli" : " ^0.97.1" ,
3535 "@graphprotocol/graph-ts" : " ^0.38.0" ,
36- "@graphql-eslint/eslint-plugin" : " ^3.19.1 " ,
36+ "@graphql-eslint/eslint-plugin" : " ^4.4.0 " ,
3737 "@human-protocol/core" : " workspace:*" ,
3838 "eslint" : " ^10.1.0" ,
3939 "eslint-config-prettier" : " ^10.1.8" ,
Original file line number Diff line number Diff line change 11import eslint from '@eslint/js' ;
2+ import { configs as graphqlConfigs } from '@graphql-eslint/eslint-plugin' ;
23import globals from 'globals' ;
34import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended' ;
45import tseslint from 'typescript-eslint' ;
5- import { flatConfigs as graphqlFlatConfigs } from '@graphql-eslint/eslint-plugin' ;
6- const graphqlOperations = graphqlFlatConfigs [ ' operations-recommended'] ;
6+
7+ const graphqlOperations = graphqlConfigs [ 'flat/ operations-recommended'] ;
78
89export default tseslint . config (
910 {
Original file line number Diff line number Diff line change 3939 "@eslint/js" : " ^10.0.1" ,
4040 "@graphprotocol/graph-cli" : " ^0.97.1" ,
4141 "@graphprotocol/graph-ts" : " ^0.38.0" ,
42- "@graphql-eslint/eslint-plugin" : " ^3.19.1 " ,
42+ "@graphql-eslint/eslint-plugin" : " ^4.4.0 " ,
4343 "@human-protocol/core" : " workspace:*" ,
4444 "eslint" : " ^10.1.0" ,
4545 "eslint-config-prettier" : " ^10.1.8" ,
You can’t perform that action at this time.
0 commit comments