mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
fix: eslint stack overflow issue (#3601)
This commit is contained in:
@@ -12,3 +12,5 @@ e2e-dist-*
|
|||||||
static
|
static
|
||||||
web-static
|
web-static
|
||||||
public
|
public
|
||||||
|
packages/sdk/src/*.d.ts
|
||||||
|
packages/sdk/src/*.js
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ const createPattern = packageName => [
|
|||||||
allowTypeImports: false,
|
allowTypeImports: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
group: ['@blocksuite /store'],
|
group: ['@blocksuite/store'],
|
||||||
message: "Import from '@blocksuite/global/utils'",
|
message: "Import from '@blocksuite/global/utils'",
|
||||||
importNames: ['assertExists', 'assertEquals'],
|
importNames: ['assertExists', 'assertEquals'],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -5,12 +5,13 @@
|
|||||||
},
|
},
|
||||||
"include": ["."],
|
"include": ["."],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"target",
|
"**/target",
|
||||||
"node_modules",
|
"**/node_modules",
|
||||||
"dist",
|
"**/dist",
|
||||||
"lib",
|
"**/lib",
|
||||||
".coverage",
|
".coverage",
|
||||||
".yarn",
|
".yarn",
|
||||||
"test-results"
|
"**/test-results",
|
||||||
|
"**/web-static"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user