Skip to content

chore: add prettier config to the live server#6287

Merged
pushya22 merged 1 commit intopreviewfrom
chore/live-server-prettier-config
Dec 27, 2024
Merged

chore: add prettier config to the live server#6287
pushya22 merged 1 commit intopreviewfrom
chore/live-server-prettier-config

Conversation

@aaryan610
Copy link
Member

@aaryan610 aaryan610 commented Dec 27, 2024

Description

This PR adds prettier configuration to the live server for better development experience.

Summary by CodeRabbit

  • New Features

    • Introduced a new configuration file for code formatting options.
    • Added a file to specify directories and files to be ignored by the formatter.
  • Bug Fixes

    • None reported.
  • Documentation

    • None reported.
  • Refactor

    • None reported.
  • Style

    • Standardized code formatting settings across the project.
  • Tests

    • None reported.
  • Chores

    • Updated formatting configuration to improve code consistency.
  • Revert

    • None reported.

@aaryan610 aaryan610 added this to the v0.24.0 milestone Dec 27, 2024
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 27, 2024

Walkthrough

The pull request introduces Prettier configuration files to standardize code formatting across the project. A .prettierignore file has been added to specify directories that should be excluded from formatting, such as build outputs and dependency folders. Simultaneously, a .prettierrc configuration file defines specific formatting rules, including line width, tab width, and trailing comma settings, to ensure consistent code style.

Changes

File Change Summary
live/.prettierignore Added ignore rules for build and dependency directories including .next, .turbo, out/, dist/, build/, and node_modules/
live/.prettierrc Created new configuration with printWidth: 120, tabWidth: 2, and trailingComma enabled for ES5 syntax

Suggested Reviewers

  • SatishGandham

🐰 Code formatting's new delight,
Prettier rules now shine so bright!
Ignore the noise, keep style neat,
With configs that make code a treat!
Rabbit's code dance begins tonight! 🎨✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8d7425a and 305fd14.

📒 Files selected for processing (2)
  • live/.prettierignore (1 hunks)
  • live/.prettierrc (1 hunks)
✅ Files skipped from review due to trivial changes (2)
  • live/.prettierrc
  • live/.prettierignore

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@pushya22 pushya22 merged commit 94f421f into preview Dec 27, 2024
11 checks passed
@pushya22 pushya22 deleted the chore/live-server-prettier-config branch December 27, 2024 15:33
aaryan610 added a commit that referenced this pull request Apr 9, 2025
* chore: add live server prettier config (#6287)

* [PE-97] refactor: pages actions (#6234)

* dev: support for edition specific options in pages

* refactor: page quick actions

* chore: add customizable page actions

* fix: type errors

* dev: hook to get page operations

* refactor: remove unnecessary props

* chore: add permisssions to duplicate page endpoint

* chore: memoize arranged options

* chore: use enum for page access

* chore: add type assertion

* fix: auth for access change and delete

* fix: removing readonly editor

* chore: add sync for page access cahnge

* fix: sync state

* fix: indexeddb sync loader added

* fix: remove node error fixed

* style: page title and checkbox

* chore: removing the syncing logic

* revert: is editable check removed in display message

* fix: editable field optional

* fix: editable removed as optional prop

* fix: extra options import fix

* fix: remove readonly stuff

* fix: added toggle access

* chore: add access change sync

* fix: full width toggle

* refactor: types and enums added

* refactore: update store action

* chore: changed the duplicate viewset

* fix: remove the page binary

* fix: duplicate page action

* fix: merge conflicts

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>

* Integrates LiteLLM for Unified Access to Multiple LLM Models (#5925)

* adds litellm gateway

* Fixes repeating code

* Fixes error exposing

* Fixes error for None text

* handles logging exception

* Adds multiple providers support

* handling edge cases

* adds new envs to instance store

* strategy pattern for llm config

---------

Co-authored-by: akash5100 <akashzsh08@gmail.com>

* chore: merge two separate info popovers (#6289)

---------

Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Akash Verma <akash.verma@plane.so>
Co-authored-by: akash5100 <akashzsh08@gmail.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
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