Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add space around brackets #233

Draft
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

odkhang
Copy link
Collaborator

@odkhang odkhang commented Nov 15, 2024

Implement adding a space before the opening bracket and after the closing bracket in a Vue project. For example: { contact_request }.

Summary by Sourcery

Enhancements:

  • Add spaces around brackets in Vue component files to improve code readability.

Copy link

sourcery-ai bot commented Nov 15, 2024

Reviewer's Guide by Sourcery

This PR implements consistent spacing around object brackets in Vue template and script sections. The changes add a space after opening curly braces and before closing curly braces in object literals, improving code readability and maintaining consistent style throughout the codebase.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Added consistent spacing around object literal brackets in Vue templates
  • Added space after opening brace and before closing brace in style bindings
  • Added space around brackets in v-tooltip directives
  • Added space around brackets in class bindings
src/pretalx/frontend/schedule-editor/src/components/GridSchedule.vue
src/pretalx/frontend/schedule-editor/src/App.vue
src/pretalx/frontend/schedule-editor/src/components/Session.vue
Added consistent spacing around object literal brackets in JavaScript code
  • Added space around brackets in function parameter objects
  • Added space around brackets in emitted event payloads
  • Added space around brackets in object spread operations
src/pretalx/frontend/schedule-editor/src/components/GridSchedule.vue
src/pretalx/frontend/schedule-editor/src/App.vue
src/pretalx/frontend/schedule-editor/src/components/Session.vue

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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.

2 participants