Skip to content

Commit 1d39010

Browse files
authored
👷 Add Prettier (#126)
* 👷 Add Prettier * 🩹 Fix tip in introduction that swallowed the whole page
1 parent 05a7eb7 commit 1d39010

37 files changed

+1001
-990
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = tab
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[{*.yaml,*.yml}]
12+
indent_style = space
File renamed without changes.

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.pnpm-store/
2+
build/
3+
dist/
4+
node_modules/
5+
package-lock.json
6+
pnpm-lock.yaml

.prettierrc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
arrowParens: avoid
2+
semi: false
3+
trailingComma: all
4+
useTabs: true

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"davidanson.vscode-markdownlint",
4+
"editorconfig.editorconfig",
5+
"esbenp.prettier-vscode"
6+
]
7+
}

babel.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
3-
};
2+
presets: [require.resolve("@docusaurus/core/lib/babel/preset")],
3+
}

docs/Future Development.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ These are additional capabilities that can also be reviewed in the same PR to ac
5050

5151
### Finishing Touches
5252

53-
Finishing touches are about experience that often take developers time away from what they like doing best - coding. But adding finishing touches is crucial and should follow the ontology and taxonomy. We will start by looking into Docstring and expand to various areas to solve pain points for coders and reviewers.
53+
Finishing touches are about experience that often take developers time away from what they like doing best - coding. But adding finishing touches is crucial and should follow the ontology and taxonomy. We will start by looking into Docstring and expand to various areas to solve pain points for coders and reviewers.
5454

55-
#### 1. DocString Review
55+
#### 1. DocString Review
5656

5757
- Automated checks for docstring presence and quality
5858
- AI-powered suggestions for improving documentation

docs/about/features.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ changes.
2727
changed for each file.
2828

2929
> Code suggestions are given in a Diff format, which either
30-
be copied or committed within the pull request with a single click.
30+
> be copied or committed within the pull request with a single click.
3131
3232
![CodeRabbit- Code Review Feedback](/img/about/ReviewFeedback.png)
3333

@@ -38,16 +38,17 @@ additional comments generated for each review, and so on.
3838
:::info
3939
Review status is useful for understanding the auxiliary context of the review.
4040
:::
41+
4142
![CodeRabbit- Review Status](/img/about/ReviewStatus.png)
4243

4344
### 3. Chat with CodeRabbit {#chat-with-coderabbit}
4445

4546
- **CodeRabbit** provides conversational capability that allows developers and the
46-
reviewers to ask questions, generate code, and get feedback in the context of
47-
changes. Just comment on the CodeRabbit review to start the conversation.
47+
reviewers to ask questions, generate code, and get feedback in the context of
48+
changes. Just comment on the CodeRabbit review to start the conversation.
4849

4950
- **CodeRabbit** learns from your interactions and gets smarter over time. The more
50-
you chat, the better it gets.
51+
you chat, the better it gets.
5152

5253
We support:
5354

@@ -85,8 +86,8 @@ changes.
8586
### 7. Learnings {#learnings}
8687

8788
- **CodeRabbit** learns from user chat interactions to gain tribal knowledge on your
88-
repositories and organization.
89+
repositories and organization.
8990
- **CodeRabbit** will apply and update these learnings
90-
in future reviews.
91+
in future reviews.
9192

9293
![Learnings from Interactions - CodeRabbit AI](/img/about/learnings.png)

docs/about/pricing.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,16 @@ These are the hourly usage limits for each developer per repository:
7676

7777
## Plan Comparison
7878

79-
| Feature | Free Plan | Pro Plan |
80-
| ----------------------------- | ---------------- | --------------- |
81-
| **Free Trial** | 14-day free trial| 14-day free trial|
82-
| **Private Repos** | Limited access | Unlimited access|
83-
| **Public Repos** | Unlimited access | Unlimited access|
84-
| **Pull Request Summarization** | Included | Included |
85-
| **Line-by-Line Reviews** | Public repos only | All repos |
86-
| **Conversational Bot** | No | Yes |
87-
| **Hourly Usage Limits** | Limited | 150 files/hour, 9 reviews/hour, 50 conversations/hour |
88-
| **Price** | Free forever | $15 per seat/mo |
79+
| Feature | Free Plan | Pro Plan |
80+
| ------------------------------ | ----------------- | ----------------------------------------------------- |
81+
| **Free Trial** | 14-day free trial | 14-day free trial |
82+
| **Private Repos** | Limited access | Unlimited access |
83+
| **Public Repos** | Unlimited access | Unlimited access |
84+
| **Pull Request Summarization** | Included | Included |
85+
| **Line-by-Line Reviews** | Public repos only | All repos |
86+
| **Conversational Bot** | No | Yes |
87+
| **Hourly Usage Limits** | Limited | 150 files/hour, 9 reviews/hour, 50 conversations/hour |
88+
| **Price** | Free forever | $15 per seat/mo |
8989

9090
---
9191

docs/guides/delete-account.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ will permanently erase all data associated with your account, including:
2626
### Deleting the CodeRabbit Account via the UI
2727

2828
:::info
29-
3029
Only accounts where the user has admin access will be deleted.
31-
3230
:::
3331

3432
Sign into your CodeRabbit account and navigate to the **Subscription** page.

0 commit comments

Comments
 (0)