fix: eslint stack overflow issue (#3601)

This commit is contained in:
Peng Xiao 2023-08-07 15:00:57 +08:00 committed by GitHub
parent dd4612bcef
commit 45ffad45b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 6 deletions

View File

@ -12,3 +12,5 @@ e2e-dist-*
static
web-static
public
packages/sdk/src/*.d.ts
packages/sdk/src/*.js

View File

@ -22,7 +22,7 @@ const createPattern = packageName => [
allowTypeImports: false,
},
{
group: ['@blocksuite /store'],
group: ['@blocksuite/store'],
message: "Import from '@blocksuite/global/utils'",
importNames: ['assertExists', 'assertEquals'],
},

View File

@ -5,12 +5,13 @@
},
"include": ["."],
"exclude": [
"target",
"node_modules",
"dist",
"lib",
"**/target",
"**/node_modules",
"**/dist",
"**/lib",
".coverage",
".yarn",
"test-results"
"**/test-results",
"**/web-static"
]
}