@@ -393,6 +393,7 @@ module.exports = {
393393 '@typescript-eslint/consistent-type-assertions' : 'error' ,
394394 '@typescript-eslint/no-duplicate-type-constituents' : 'error' ,
395395 '@typescript-eslint/no-unnecessary-type-conversion' : 'error' ,
396+ // '@typescript-eslint/await-thenable': 'error', // TODO
396397 // TODO: Fix all errors for the following rules included in recommended config
397398 '@typescript-eslint/no-deprecated' : 'off' ,
398399 '@typescript-eslint/no-unsafe-function-type' : 'off' ,
@@ -409,11 +410,10 @@ module.exports = {
409410 projectService : {
410411 allowDefaultProject : [
411412 'examples/monaco-graphql-react-vite/vite.config.ts' ,
412- 'packages/graphiql/vite.config.mts' ,
413- 'packages/{codemirror-graphql,graphiql-toolkit,graphql-language-service-cli,graphql-language-service,monaco-graphql,vscode-graphql-syntax,graphiql}/vitest.config.mts' ,
413+ 'packages/{codemirror-graphql,graphiql-toolkit,graphql-language-service-cli,graphql-language-service,monaco-graphql,vscode-graphql-syntax}/vitest.config.mts' ,
414414
415415 'packages/cm6-graphql/__tests__/test.spec.ts' ,
416- 'packages/graphiql/src/GraphiQL.spec.tsx ' ,
416+ 'packages/graphiql/cypress.config.ts ' ,
417417 'packages/vscode-graphql-syntax/tests/*.spec.ts' ,
418418 'packages/graphql-language-service-cli/src/__tests__/*.test.ts' ,
419419 'packages/monaco-graphql/test/monaco-editor.test.ts' ,
@@ -515,7 +515,9 @@ module.exports = {
515515 rules : {
516516 '@typescript-eslint/no-restricted-imports' : [
517517 'error' ,
518- ...RESTRICTED_IMPORTS ,
518+ ...RESTRICTED_IMPORTS
519+ // TODO: enable when monaco-editor will be migrated over codemirror
520+ . filter ( ( { name } ) => name !== 'monaco-editor' ) ,
519521 {
520522 name : 'react' ,
521523 importNames : [ 'memo' , 'useCallback' , 'useMemo' ] ,
0 commit comments