Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

refactor: ingore some files for layout and render (#1877)

Ran Luo24eb7b7e7447
diff --git a/eslint.config.js b/eslint.config.js
index b5ef76f14b..34b48a463b 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -23,7 +23,14 @@ export default antfu({
rules: baseRules,
}, {
files: ['**/*.ts', '**/*.tsx'],
- ignores: ['**/*.d.ts', '**/vite.config.ts', 'playwright.config.ts', '**/*.spec.ts', '**/*.spec.tsx'], // do not check test files
+ ignores: [
+ 'packages/engine-render/src/components/docs/**/*.ts',
+ '**/*.d.ts',
+ '**/vite.config.ts',
+ 'playwright.config.ts',
+ '**/*.spec.ts',
+ '**/*.spec.tsx',
+ ], // do not check test files
rules: {
complexity: ['warn', { max: 20 }],
'max-lines-per-function': ['warn', 80],