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.

chore: change tool settings

Wenzhao Hu09e25f5e56a2
diff --git a/.eslintrc.js b/.eslintrc.js
index 06ae8cdc04..50a1392995 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -103,7 +103,7 @@ module.exports = {
// eslint-plugin-unused-imports
'@typescript-eslint/no-unused-vars': 'off',
'unused-imports/no-unused-imports': 'error',
- 'max-lines-per-function': ['error', 60],
+ 'max-lines-per-function': ['error', 80],
'prefer-regex-literals': 'off',
'@typescript-eslint/default-param-last': 'off',
'grouped-accessor-pairs': 'off',
diff --git a/packages/core/.prettierrc.cjs b/packages/core/.prettierrc.cjs
deleted file mode 100644
index 1cf39b914d..0000000000
--- a/packages/core/.prettierrc.cjs
+++ /dev/null
@@ -1,7 +0,0 @@
-module.exports = {
- singleQuote: true,
- trailingComma: 'es5',
- tabWidth: 4,
- semi: true,
- printWidth: 85,
-};
diff --git a/tsconfig.json b/tsconfig.json
index 502e2a6739..fc039f13ae 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,4 +1,7 @@
{
+ "compilerOptions": {
+ "experimentalDecorators": true
+ },
"include": [
"packages/*/src",
"examples/*/src",