From 7f9bffc3701ac7509090679f104d013174f16111 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Nov 2023 06:51:41 +0000 Subject: [PATCH 1/2] chore(deps): update dependency @changesets/changelog-github to ^0.5.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8e6b3884..61437a36 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "eslint": ">=6.0.0" }, "devDependencies": { - "@changesets/changelog-github": "^0.4.6", + "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.24.2", "@ota-meshi/eslint-plugin": "^0.15.0", "@ota-meshi/site-kit-eslint-editor-vue": "^0.1.2", From a2d99824fdeae0eee2dbbd1fd47901b141a1f970 Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Tue, 28 Nov 2023 08:39:23 +0000 Subject: [PATCH 2/2] format --- docs/.vitepress/theme/components/rules/index.js | 12 ++++++------ src/utils/yaml.ts | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/.vitepress/theme/components/rules/index.js b/docs/.vitepress/theme/components/rules/index.js index b6cd20cb..5fd70f0e 100644 --- a/docs/.vitepress/theme/components/rules/index.js +++ b/docs/.vitepress/theme/components/rules/index.js @@ -76,12 +76,12 @@ categories.sort((a, b) => a.categoryOrder > b.categoryOrder ? 1 : a.categoryOrder < b.categoryOrder - ? -1 - : a.title > b.title - ? 1 - : a.title < b.title - ? -1 - : 0, + ? -1 + : a.title > b.title + ? 1 + : a.title < b.title + ? -1 + : 0, ); export const DEFAULT_RULES_CONFIG = allRules.reduce((c, r) => { diff --git a/src/utils/yaml.ts b/src/utils/yaml.ts index fff18961..3fce1472 100644 --- a/src/utils/yaml.ts +++ b/src/utils/yaml.ts @@ -238,8 +238,8 @@ export function incIndent(indent: string, context: RuleContext): string { numOfIndent === 2 ? " " : numOfIndent === 4 - ? " " - : " ".repeat(numOfIndent); + ? " " + : " ".repeat(numOfIndent); return `${indent}${add}`; }