From cee71f31bd9c58458d425940e5a9cdee5fa70efa Mon Sep 17 00:00:00 2001 From: nocoo Date: Wed, 15 Apr 2026 02:56:03 +0800 Subject: [PATCH] =?UTF-8?q?chore(quality):=206DQ=20L1+G1=20=E2=80=94=20cov?= =?UTF-8?q?erage=20threshold=20+=20max-warnings=3D0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bunfig.toml | 6 ++++++ package.json | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 bunfig.toml diff --git a/bunfig.toml b/bunfig.toml new file mode 100644 index 0000000..eafc4d5 --- /dev/null +++ b/bunfig.toml @@ -0,0 +1,6 @@ +[test] +coverageSkipTestFiles = true + +[test.coverageThreshold] +line = 90 +function = 90 diff --git a/package.json b/package.json index 83518e4..e725224 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test:e2e": "bun test tests/e2e", "test:all": "bun run test && bun run test:e2e", "test:coverage": "bun test tests/unit --coverage --coverage-reporter=text --coverage-reporter=lcov", - "lint": "eslint .", + "lint": "eslint --max-warnings=0 .", "prepare": "husky" }, "dependencies": { @@ -26,4 +26,4 @@ "typescript": "^5.9.3", "typescript-eslint": "^8.54.0" } -} +} \ No newline at end of file