mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-13 04:42:56 +08:00
chore: fix eslint in blocksuite (#9232)
This commit is contained in:
+20
-1
@@ -216,7 +216,11 @@ export default tseslint.config(
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['packages/**/*.{ts,tsx}', 'tools/cli/**/*.{ts,tsx}'],
|
||||
files: [
|
||||
'packages/**/*.{ts,tsx}',
|
||||
'tools/cli/**/*.{ts,tsx}',
|
||||
'blocksuite/**/*.{ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
'@typescript-eslint/no-floating-promises': [
|
||||
'error',
|
||||
@@ -283,5 +287,20 @@ export default tseslint.config(
|
||||
'import-x/no-extraneous-dependencies': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['blocksuite/**/*.{ts,tsx}'],
|
||||
rules: {
|
||||
'rxjs/finnish': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: [
|
||||
'blocksuite/tests-legacy/**/*.{ts,tsx}',
|
||||
'blocksuite/**/__tests__/**/*.{ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
'import-x/no-extraneous-dependencies': 'off',
|
||||
},
|
||||
},
|
||||
eslintConfigPrettier
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user