Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: eslint stack overflow issue (#3601)

Peng Xiao45ffad45b05e
diff --git a/.eslintignore b/.eslintignore
index fd3129ad98..d7424a6130 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -12,3 +12,5 @@ e2e-dist-*
static
web-static
public
+packages/sdk/src/*.d.ts
+packages/sdk/src/*.js
diff --git a/.eslintrc.js b/.eslintrc.js
index 155a3ab0dd..44b3a670aa 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -22,7 +22,7 @@ const createPattern = packageName => [
allowTypeImports: false,
},
{
- group: ['@blocksuite /store'],
+ group: ['@blocksuite/store'],
message: "Import from '@blocksuite/global/utils'",
importNames: ['assertExists', 'assertEquals'],
},
diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json
index e7030777d2..3b54dc9419 100644
--- a/tsconfig.eslint.json
+++ b/tsconfig.eslint.json
@@ -5,12 +5,13 @@
},
"include": ["."],
"exclude": [
- "target",
- "node_modules",
- "dist",
- "lib",
+ "**/target",
+ "**/node_modules",
+ "**/dist",
+ "**/lib",
".coverage",
".yarn",
- "test-results"
+ "**/test-results",
+ "**/web-static"
]
}