Skip to content

Renamed files to kebab-case - core - services - part 2#9

Open
tomerqodo wants to merge 2 commits intocopilot_full_base_renamed_files_to_kebab-case_-_core_-_services__-_part_2_pr7from
copilot_full_head_renamed_files_to_kebab-case_-_core_-_services__-_part_2_pr7
Open

Renamed files to kebab-case - core - services - part 2#9
tomerqodo wants to merge 2 commits intocopilot_full_base_renamed_files_to_kebab-case_-_core_-_services__-_part_2_pr7from
copilot_full_head_renamed_files_to_kebab-case_-_core_-_services__-_part_2_pr7

Conversation

@tomerqodo
Copy link
Copy Markdown

Benchmark PR from agentic-review-benchmarks#7

Copilot AI review requested due to automatic review settings January 25, 2026 18:49
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR renames service files from PascalCase to kebab-case as part of a systematic refactoring effort (part 2). The changes update file names and all corresponding import/require statements across test files and source code.

Changes:

  • Renamed approximately 100+ service class files from PascalCase (e.g., MailgunClient.js) to kebab-case (e.g., mailgun-client.js)
  • Updated all import/require statements in test files to reference the renamed files
  • Updated all require statements in source files to reference the renamed files

Reviewed changes

Copilot reviewed 137 out of 198 changed files in this pull request and generated 1 comment.

File Description
Test files (40+ files) Updated require statements to reference renamed service files
Source service files (60+ files) Updated require statements and created new files with kebab-case names
Index files Updated require statements to reference renamed service modules
API endpoints Updated require statements for renamed service dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +19
const {Router} = require('express')
const body = require('body-parser')
const errors = require('@tryghost/errors')
const logging = require('@tryghost/logging')

const PaymentsService = require('./services/payments-service')
const TokenService = require('./services/token-service')
const GeolocationService = require('./services/geolocation-service')
const MemberBREADService = require('./services/member-bread-service')
const MemberRepository = require('./repositories/member-repository')

const EventRepository = require('./repositories/event-repository');
const ProductRepository = require('./repositories/product-repository');
const RouterController = require('./controllers/router-controller');
const MemberController = require('./controllers/member-controller');
const WellKnownController = require('./controllers/well-known-controller');

const {EmailSuppressedEvent} = require('../../email-suppression-list/email-suppression-list');
const MagicLink = require('../../lib/magic-link/magic-link');
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolons at the end of require statements. Lines 1-11 and 14-19 are missing semicolons, which is inconsistent with the codebase convention. All other files in this PR use semicolons consistently.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants