From 487c9712db28fa227aca4ffe689b79f058bd3fa1 Mon Sep 17 00:00:00 2001 From: QCQCQC <1220204124@zust.edu.cn> Date: Mon, 25 Nov 2024 21:03:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E4=BB=B6=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oak.config.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 oak.config.json diff --git a/oak.config.json b/oak.config.json new file mode 100644 index 000000000..726fb4f9b --- /dev/null +++ b/oak.config.json @@ -0,0 +1,29 @@ +{ + "projectDir": "./", + "checker": { + "onInvalidReturn": "warn", + "onInvalidDestructuring": "error", + "onNeedPromiseCheck": "error" + }, + "trigger": { + "onReturnLiteral": "warn", + "onNoAsyncFn": "error", + "onNoAwaitContext": "error" + }, + "i18n": { + "onMissingKey": "error", + "onKeyBlank": "warn", + "onParamError": "warn", + "onParamMissing": "error", + "onParamRedundant": "warn" + }, + "oakComponent": { + "onInvalidEntity": "error", + "onInvalidIsList": "error", + "onMissingDataAttrs": "warn", + "onMissingMethods": "error" + }, + "oakPath": { + "onInvalidPath": "error" + } +} \ No newline at end of file