Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

Enable oxlint eslint/complexity (max 20) (#5972)

teoe6d4ba0ae818
diff --git a/apps/web/.oxlintrc.json b/apps/web/.oxlintrc.json
index 105da2794a..0716a42162 100644
--- a/apps/web/.oxlintrc.json
+++ b/apps/web/.oxlintrc.json
@@ -13,7 +13,10 @@
"correctness": "off"
},
"rules": {
- "promise/prefer-await-to-then": "warn"
+ "promise/prefer-await-to-then": "warn",
+ // eslint/complexity — McCabe cyclomatic complexity, default max 20.
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/complexity
+ "complexity": "warn"
},
"ignorePatterns": [
"**/node_modules/**",