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.

ci: add no multiple empty lines config

Wenzhao Hu7a28a434c4f4
diff --git a/common/shared/eslint/index.js b/common/shared/eslint/index.js
index 8dbf4fc0c0..0f0a786ca8 100644
--- a/common/shared/eslint/index.js
+++ b/common/shared/eslint/index.js
@@ -3,6 +3,7 @@ exports.baseRules = {
'import/no-cycle': 'error',
'import/no-self-import': 'error',
'ts/no-explicit-any': 'warn',
+ 'style/no-multiple-empty-lines': ['error', { max: 2, maxEOF: 1 }],
'style/brace-style': ['warn', '1tbs', { allowSingleLine: true }],
'style/comma-dangle': ['error', {
arrays: 'always-multiline',