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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix: fix sonar lint
Wenzhao Hu9388d2cfef00
diff --git a/examples/sheets/src/main.ts b/examples/sheets/src/main.tsindex 281ac65e14..4b1a6c9b0d 100644--- a/examples/sheets/src/main.ts+++ b/examples/sheets/src/main.ts@@ -37,7 +37,6 @@ const univer = new Univer({univer.registerPlugin(DocsPlugin, {hasScroll: false,});-// univer.registerPlugin(DocsUIPlugin);univer.registerPlugin(RenderEngine);univer.registerPlugin(UIPlugin, {container: 'app',@@ -57,9 +56,6 @@ univer.registerPlugin(DebuggerPlugin);univer.registerPlugin(BaseFormulaEnginePlugin, {notExecuteFormula: true,});-// univer.registerPlugin(FormulaPlugin, {-// notExecuteFormula: true,-// });univer.registerPlugin(FormulaUIPlugin);univer.registerPlugin(UniverRPCMainThreadPlugin, {workerURL: './worker.js',diff --git a/packages/uniscript/examples/china-id-validation.js b/packages/uniscript/examples/china-id-validation.jsindex 97319738b1..24c8c42fb3 100644--- a/packages/uniscript/examples/china-id-validation.js+++ b/packages/uniscript/examples/china-id-validation.js@@ -38,11 +38,7 @@ function validIDNum(szID) {}const xCode = getXCode(szID);- if (xCode === szID[17]) {- return true;- }-- return false;+ return xCode === szID[17];}const redColor = 'rgb(240, 55, 31)';