Skip to content

Commit 1fd1099

Browse files
Prasad BhatPrasad Bhat
authored andcommitted
docs: fixed the lint errors
1 parent 7368cc8 commit 1fd1099

File tree

8 files changed

+650
-583
lines changed

8 files changed

+650
-583
lines changed

docs/guides/initial-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ By default, CodeRabbit writes thorough code reviews with several sub-sections. I
8282
- [Sequence diagrams](/reference/configuration#sequence-diagrams): includes a visual diagram of object interactions.
8383
- [Assess linked issues](/reference/configuration#assess-linked-issues): assesses how well the pull request addresses any linked issues.
8484
- [Related issues](/reference/configuration#related-issues): lists issues found in your issue tracker that might be related to this pull request.
85-
- [Related pull requests](/reference/configuration#realted-prs): lists pull requests that might be related to this pull request.
85+
- [Related pull requests](/reference/configuration#related-prs): lists pull requests that might be related to this pull request.
8686
- [Suggested labels](/reference/configuration#suggested-labels): Suggests labels for this pull request.
8787
- [Suggested reviewers](/reference/configuration#suggested-reviewers): automatically suggest reviewers for PR
8888
- [Poem](/reference/configuration#poem): generates a short poem about this pull request.

docs/guides/issue-creation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To create Jira issues, ensure you have [configured the Jira integration](../inte
3737

3838
### Linear
3939

40-
Make sure you have [set up the Linear integration](../integrations/issue-integrations.md#linear) to create Linear issues.
40+
Make sure you have [set up the Linear integration](../integrations/issue-integrations.md#Linear) to create Linear issues.
4141

4242
## Tips for Issue Creation
4343

docs/reference/review-commands.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ CodeRabbit through chat, see [Interact with CodeRabbit reviews](/guides/code-rev
2929

3030
## Documentation commands
3131

32-
| Command | Description | Use Case |
33-
| ---------------------------------------- | -------------------------------------------- | --------------------------------------------------- |
34-
| `@coderabbitai generate docstrings` | Generates docstrings for functions in the PR | When you need automatic documentation for your code |
32+
| Command | Description | Use Case |
33+
| ----------------------------------- | -------------------------------------------- | --------------------------------------------------- |
34+
| `@coderabbitai generate docstrings` | Generates docstrings for functions in the PR | When you need automatic documentation for your code |
3535
| `@coderabbitai generate unit tests` | Generates unit tests for the PR | When you need automatic unit testing for your code |
36-
| `@coderabbitai configuration` | Shows current CodeRabbit settings | When you need to check or export your configuration |
36+
| `@coderabbitai configuration` | Shows current CodeRabbit settings | When you need to check or export your configuration |
3737

3838
## Agentic chat commands
3939

Lines changed: 98 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,181 +1,181 @@
11
.codeBlock {
2-
margin: 1rem 0;
3-
border-radius: 8px;
4-
overflow: hidden;
5-
background-color: #1a1a1a;
6-
border: 1px solid #333;
7-
font-family: 'Consolas', 'Monaco', 'Lucida Console', monospace;
8-
position: relative;
2+
margin: 1rem 0;
3+
border-radius: 8px;
4+
overflow: hidden;
5+
background-color: #1a1a1a;
6+
border: 1px solid #333;
7+
font-family: "Consolas", "Monaco", "Lucida Console", monospace;
8+
position: relative;
99
}
1010

1111
/* Add border for dark theme */
1212
[data-theme="dark"] .codeBlock {
13-
border: 1px solid #444;
13+
border: 1px solid #444;
1414
}
1515

1616
.codeHeader {
17-
background-color: #1a1a1a;
18-
padding: 0.75rem 1rem;
19-
border-bottom: 1px solid #333;
20-
color: #888;
21-
font-size: 0.875rem;
22-
font-weight: 400;
23-
font-style: italic;
17+
background-color: #1a1a1a;
18+
padding: 0.75rem 1rem;
19+
border-bottom: 1px solid #333;
20+
color: #888;
21+
font-size: 0.875rem;
22+
font-weight: 400;
23+
font-style: italic;
2424
}
2525

2626
.codeTitle {
27-
color: #888;
28-
font-style: italic;
27+
color: #888;
28+
font-style: italic;
2929
}
3030

3131
.codeContainer {
32-
position: relative;
33-
background-color: #1a1a1a;
32+
position: relative;
33+
background-color: #1a1a1a;
3434
}
3535

3636
.codeContent {
37-
margin: 0;
38-
padding: 1rem;
39-
padding-bottom: 2rem;
40-
background-color: transparent;
41-
color: #e6e6e6;
42-
font-size: 0.875rem;
43-
line-height: 1.6;
44-
overflow-x: auto;
45-
white-space: pre;
37+
margin: 0;
38+
padding: 1rem;
39+
padding-bottom: 2rem;
40+
background-color: transparent;
41+
color: #e6e6e6;
42+
font-size: 0.875rem;
43+
line-height: 1.6;
44+
overflow-x: auto;
45+
white-space: pre;
4646
}
4747

4848
.shortCode {
49-
padding-bottom: 0.5rem;
49+
padding-bottom: 0.5rem;
5050
}
5151

5252
.codeLine {
53-
display: block;
54-
min-height: 1.6rem;
53+
display: block;
54+
min-height: 1.6rem;
5555
}
5656

5757
.copyButtonContainer {
58-
background-color: #1a1a1a;
59-
padding: 0.75rem 1rem;
60-
display: flex;
61-
justify-content: flex-end;
62-
cursor: pointer;
58+
background-color: #1a1a1a;
59+
padding: 0.75rem 1rem;
60+
display: flex;
61+
justify-content: flex-end;
62+
cursor: pointer;
6363
}
6464

6565
.copyButton {
66-
background-color: #333;
67-
color: #fff;
68-
border: 1px solid #333;
69-
border-radius: 4px;
70-
padding: 0.5rem 0.75rem;
71-
font-size: 0.75rem;
72-
cursor: pointer;
73-
display: flex;
74-
align-items: center;
75-
gap: 0.5rem;
76-
transition: all 0.2s ease;
77-
font-family: inherit;
78-
width: 100%;
79-
justify-content: flex-end;
66+
background-color: #333;
67+
color: #fff;
68+
border: 1px solid #333;
69+
border-radius: 4px;
70+
padding: 0.5rem 0.75rem;
71+
font-size: 0.75rem;
72+
cursor: pointer;
73+
display: flex;
74+
align-items: center;
75+
gap: 0.5rem;
76+
transition: all 0.2s ease;
77+
font-family: inherit;
78+
width: 100%;
79+
justify-content: flex-end;
8080
}
8181

8282
.copyButton:hover {
83-
background-color: #333;
84-
color: #fff;
85-
border-color: #666;
83+
background-color: #333;
84+
color: #fff;
85+
border-color: #666;
8686
}
8787

8888
.copyButton:active {
89-
transform: scale(0.98);
89+
transform: scale(0.98);
9090
}
9191

9292
.copyButton svg {
93-
width: 14px;
94-
height: 14px;
93+
width: 14px;
94+
height: 14px;
9595
}
9696

9797
.codeContent :global(.keyword) {
98-
color: #4fc1ff;
99-
font-weight: 400;
98+
color: #4fc1ff;
99+
font-weight: 400;
100100
}
101101

102102
.codeContent :global(.comment) {
103-
color: #6a9955;
104-
font-style: italic;
103+
color: #6a9955;
104+
font-style: italic;
105105
}
106106

107107
.codeContent :global(.string) {
108-
color: #ff6b9d;
108+
color: #ff6b9d;
109109
}
110110

111111
.codeContent :global(.function) {
112-
color: #ffab70;
113-
font-weight: 400;
112+
color: #ffab70;
113+
font-weight: 400;
114114
}
115115

116116
.codeContent :global(.number) {
117-
color: #53FFE8;
117+
color: #53ffe8;
118118
}
119119

120120
.codeContent :global(.header) {
121-
color: #e6e6e6;
122-
font-style: italic;
121+
color: #e6e6e6;
122+
font-style: italic;
123123
}
124124

125125
/* YAML syntax highlighting */
126126
.codeContent :global(.yaml-key) {
127-
color: #9cdcfe;
128-
font-weight: 400;
127+
color: #9cdcfe;
128+
font-weight: 400;
129129
}
130130

131131
.codeContent :global(.yaml-value) {
132-
color: #569cd6;
133-
font-weight: 400;
132+
color: #569cd6;
133+
font-weight: 400;
134134
}
135135

136136
.codeContent :global(.yaml-operator) {
137-
color: #d4d4d4;
138-
font-weight: 400;
137+
color: #d4d4d4;
138+
font-weight: 400;
139139
}
140140

141141
/* File pattern syntax highlighting */
142142
.codeContent :global(.glob) {
143-
color: #ffab70;
144-
font-weight: 600;
143+
color: #ffab70;
144+
font-weight: 600;
145145
}
146146

147147
.codeContent :global(.extension) {
148-
color: #ff6b9d;
149-
font-weight: 400;
148+
color: #ff6b9d;
149+
font-weight: 400;
150150
}
151151

152152
.codeContent :global(.filename) {
153-
color: #9cdcfe;
154-
font-weight: 400;
153+
color: #9cdcfe;
154+
font-weight: 400;
155155
}
156156

157157
.codeContent :global(.separator) {
158-
color: #d4d4d4;
159-
font-weight: 400;
158+
color: #d4d4d4;
159+
font-weight: 400;
160160
}
161161

162162
@media (max-width: 768px) {
163-
.codeContent {
164-
font-size: 0.8rem;
165-
padding: 0.75rem;
166-
padding-bottom: 3rem;
167-
}
168-
169-
.shortCode {
170-
padding-bottom: 0.3rem;
171-
}
172-
173-
.copyButton {
174-
font-size: 0.7rem;
175-
padding: 0.4rem 0.6rem;
176-
}
177-
178-
.copyButtonContainer {
179-
padding: 0.5rem 0.75rem;
180-
}
163+
.codeContent {
164+
font-size: 0.8rem;
165+
padding: 0.75rem;
166+
padding-bottom: 3rem;
167+
}
168+
169+
.shortCode {
170+
padding-bottom: 0.3rem;
171+
}
172+
173+
.copyButton {
174+
font-size: 0.7rem;
175+
padding: 0.4rem 0.6rem;
176+
}
177+
178+
.copyButtonContainer {
179+
padding: 0.5rem 0.75rem;
180+
}
181181
}

0 commit comments

Comments
 (0)