From 5e22ebb4bac88185f33b2527025fc6e57a742ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=AC=E3=82=AF=E3=82=B5=E3=83=B3=E3=83=80?= =?UTF-8?q?=E3=83=BC=2Eeth?= Date: Sun, 26 Nov 2023 13:11:42 +0900 Subject: [PATCH] fix: kebab case --- .../issue/{allCommentScoring.ts => all-comment-scoring.ts} | 0 src/handlers/comment/handlers/issue/evaluate-comments.ts | 2 +- ...getPullRequestComments.ts => get-pull-request-comments.ts} | 0 .../{perUserCommentScoring.ts => per-user-comment-scoring.ts} | 0 src/handlers/comment/handlers/issue/specification-scoring.ts | 4 ++-- ...sPerContributor.ts => sum-total-scores-per-contributor.ts} | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename src/handlers/comment/handlers/issue/{allCommentScoring.ts => all-comment-scoring.ts} (100%) rename src/handlers/comment/handlers/issue/{getPullRequestComments.ts => get-pull-request-comments.ts} (100%) rename src/handlers/comment/handlers/issue/{perUserCommentScoring.ts => per-user-comment-scoring.ts} (100%) rename src/handlers/comment/handlers/issue/{sumTotalScoresPerContributor.ts => sum-total-scores-per-contributor.ts} (100%) diff --git a/src/handlers/comment/handlers/issue/allCommentScoring.ts b/src/handlers/comment/handlers/issue/all-comment-scoring.ts similarity index 100% rename from src/handlers/comment/handlers/issue/allCommentScoring.ts rename to src/handlers/comment/handlers/issue/all-comment-scoring.ts diff --git a/src/handlers/comment/handlers/issue/evaluate-comments.ts b/src/handlers/comment/handlers/issue/evaluate-comments.ts index bca13dd1e..c6ff78a8b 100644 --- a/src/handlers/comment/handlers/issue/evaluate-comments.ts +++ b/src/handlers/comment/handlers/issue/evaluate-comments.ts @@ -2,7 +2,7 @@ import Decimal from "decimal.js"; import { Context } from "../../../../types/context"; import { Comment, Issue, User } from "../../../../types/payload"; -import { allCommentScoring } from "./allCommentScoring"; +import { allCommentScoring } from "./all-comment-scoring"; import { CommentScoring } from "./comment-scoring-rubric"; import { ContributorView } from "./contribution-style-types"; import { UserScoreDetails } from "./issue-shared-types"; diff --git a/src/handlers/comment/handlers/issue/getPullRequestComments.ts b/src/handlers/comment/handlers/issue/get-pull-request-comments.ts similarity index 100% rename from src/handlers/comment/handlers/issue/getPullRequestComments.ts rename to src/handlers/comment/handlers/issue/get-pull-request-comments.ts diff --git a/src/handlers/comment/handlers/issue/perUserCommentScoring.ts b/src/handlers/comment/handlers/issue/per-user-comment-scoring.ts similarity index 100% rename from src/handlers/comment/handlers/issue/perUserCommentScoring.ts rename to src/handlers/comment/handlers/issue/per-user-comment-scoring.ts diff --git a/src/handlers/comment/handlers/issue/specification-scoring.ts b/src/handlers/comment/handlers/issue/specification-scoring.ts index a663e2040..3700c59b6 100644 --- a/src/handlers/comment/handlers/issue/specification-scoring.ts +++ b/src/handlers/comment/handlers/issue/specification-scoring.ts @@ -1,13 +1,13 @@ import Decimal from "decimal.js"; import { Comment, Issue } from "../../../../types/payload"; -import { allCommentScoring } from "./allCommentScoring"; +import { allCommentScoring } from "./all-comment-scoring"; import { UserScoreDetails } from "./issue-shared-types"; import { addRelevanceAndFormatScoring } from "./relevance-format-scoring"; // import Runtime from "../../../../bindings/bot-runtime"; -import { ContributorView } from "./contribution-style-types"; import { Context } from "../../../../types/context"; +import { ContributorView } from "./contribution-style-types"; export type ContextIssue = { context: Context; issue: Issue }; diff --git a/src/handlers/comment/handlers/issue/sumTotalScoresPerContributor.ts b/src/handlers/comment/handlers/issue/sum-total-scores-per-contributor.ts similarity index 100% rename from src/handlers/comment/handlers/issue/sumTotalScoresPerContributor.ts rename to src/handlers/comment/handlers/issue/sum-total-scores-per-contributor.ts