From b3ebc608859890be9d1320b7adc259914d3f6969 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Fri, 8 Aug 2025 15:36:39 +0800 Subject: [PATCH] test: add plugins and categories settings --- .oxlintrc.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.oxlintrc.json b/.oxlintrc.json index d28325f4a..61a7dd925 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -4,6 +4,24 @@ "node": true, "mocha": true }, + "categories": { + "correctness": "error", + "perf": "error", + "nursery": "error", + "restriction": "error", + "style": "error", + "pedantic": "error", + "suspicious": "error" + }, + "plugins": [ + "import", + "typescript", + "unicorn", + "jsdoc", + "node", + "promise", + "oxc" + ], "rules": {}, "ignorePatterns": [ "index.d.ts",