From 71bbfa7a5fbb6d0b9d22748218c44d0b94edefc6 Mon Sep 17 00:00:00 2001 From: aiktb Date: Sun, 27 Oct 2024 21:46:35 +0800 Subject: [PATCH] fix: `ResizablePanel` warning that the sum of percentages needs to be 100% --- .github/CONTRIBUTING.md | 2 +- app/routes/_index.tsx | 6 +++--- commitlint.config.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 56754b6..440cc04 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -22,7 +22,7 @@ Hi! We're Really excited that you are interested in contributing to Vueast. Befo - Commit messages must be matched by the following regex, see [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for more information. ```txt -/^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\(.+\))?: .{1,70}/ +/^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\(.+\))?: .{1,100}/ ``` ## Development Setup diff --git a/app/routes/_index.tsx b/app/routes/_index.tsx index aaa0516..7a85480 100644 --- a/app/routes/_index.tsx +++ b/app/routes/_index.tsx @@ -51,7 +51,7 @@ export default function Index() {
- +
{() => }
@@ -66,13 +66,13 @@ export default function Index() { )} {view === "tree" && ( <> - +
- +
diff --git a/commitlint.config.ts b/commitlint.config.ts index a447f48..647b199 100644 --- a/commitlint.config.ts +++ b/commitlint.config.ts @@ -1,6 +1,6 @@ import { RuleConfigSeverity, type UserConfig } from "@commitlint/types"; -const HEADER_MAX_LENGTH = 70; +const HEADER_MAX_LENGTH = 100; const config: UserConfig = { extends: ["@commitlint/config-conventional"], rules: {