Skip to content

Commit 8b45b6d

Browse files
chore: configure prettier & apply formatting (#315)
1 parent 0805f21 commit 8b45b6d

File tree

196 files changed

+7568
-7744
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+7568
-7744
lines changed

.github/ISSUE_TEMPLATE/1-bug.yml

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: "Bug"
2-
description: "Report a bug to help us improve the proxy system."
3-
type: "Bug 🐞"
4-
title: "-- Provide a general summary of the issue --"
5-
labels: ["bug", "needs-triage"]
6-
assignees: "-"
1+
name: 'Bug'
2+
description: 'Report a bug to help us improve the proxy system.'
3+
type: 'Bug 🐞'
4+
title: '-- Provide a general summary of the issue --'
5+
labels: ['bug', 'needs-triage']
6+
assignees: '-'
77
body:
88
- type: markdown
99
attributes:
@@ -12,24 +12,24 @@ body:
1212
- type: textarea
1313
id: what-happened
1414
attributes:
15-
label: "Describe the issue"
16-
description: "A clear and concise description of what the bug is. If applicable, add screenshots to illustrate the problem."
15+
label: 'Describe the issue'
16+
description: 'A clear and concise description of what the bug is. If applicable, add screenshots to illustrate the problem.'
1717
validations:
1818
required: true
1919

2020
- type: textarea
2121
id: reproduce-steps
2222
attributes:
23-
label: "Steps to Reproduce"
24-
description: "Describe the steps to reproduce the behavior."
23+
label: 'Steps to Reproduce'
24+
description: 'Describe the steps to reproduce the behavior.'
2525
validations:
2626
required: true
2727

2828
- type: dropdown
2929
id: operating-system
3030
attributes:
31-
label: "Operating System"
32-
description: "Select the operating system where the issue occurred."
31+
label: 'Operating System'
32+
description: 'Select the operating system where the issue occurred.'
3333
options:
3434
- Microsoft Windows (Intel)
3535
- Microsoft Windows (Arm)
@@ -44,26 +44,26 @@ body:
4444
- type: input
4545
id: ide-version
4646
attributes:
47-
label: "IDE and Version"
48-
description: "Enter the IDE name and version."
49-
placeholder: "e.g. VS Code 1.78.0"
47+
label: 'IDE and Version'
48+
description: 'Enter the IDE name and version.'
49+
placeholder: 'e.g. VS Code 1.78.0'
5050
validations:
5151
required: true
5252

5353
- type: input
5454
id: extension-version
5555
attributes:
56-
label: "Extension and Version"
57-
description: "Enter the extension name and version."
58-
placeholder: "e.g. Proxy Extension 0.5.1"
56+
label: 'Extension and Version'
57+
description: 'Enter the extension name and version.'
58+
placeholder: 'e.g. Proxy Extension 0.5.1'
5959
validations:
6060
required: true
6161

6262
- type: dropdown
6363
id: provider
6464
attributes:
65-
label: "Provider"
66-
description: "Select the provider used."
65+
label: 'Provider'
66+
description: 'Select the provider used.'
6767
options:
6868
- Anthropic
6969
- OpenAI
@@ -77,32 +77,32 @@ body:
7777
- type: input
7878
id: model
7979
attributes:
80-
label: "Model"
81-
description: "Enter the model name used (e.g. GPT-4, Claude 3)."
82-
placeholder: "e.g. GPT-4"
80+
label: 'Model'
81+
description: 'Enter the model name used (e.g. GPT-4, Claude 3).'
82+
placeholder: 'e.g. GPT-4'
8383
validations:
8484
required: true
8585

8686
- type: input
8787
id: codegate-version
8888
attributes:
89-
label: "Codegate version"
90-
description: "Enter the version of CodeGate (e.g. `v0.1.8`, `4845e00c039e`)."
91-
placeholder: "e.g. v0.1.8"
89+
label: 'Codegate version'
90+
description: 'Enter the version of CodeGate (e.g. `v0.1.8`, `4845e00c039e`).'
91+
placeholder: 'e.g. v0.1.8'
9292
validations:
9393
required: true
9494

9595
- type: textarea
9696
id: logs
9797
attributes:
98-
label: "Logs"
99-
description: "If applicable, paste logs or error messages."
100-
placeholder: "Paste log content here."
98+
label: 'Logs'
99+
description: 'If applicable, paste logs or error messages.'
100+
placeholder: 'Paste log content here.'
101101

102102
- type: textarea
103103
id: additional-context
104104
attributes:
105-
label: "Additional Context"
106-
description: "Add any other context or details about the problem here (e.g. link to Discussion, etc.)."
105+
label: 'Additional Context'
106+
description: 'Add any other context or details about the problem here (e.g. link to Discussion, etc.).'
107107
validations:
108108
required: false

.github/ISSUE_TEMPLATE/2-task.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Task
22
description: Task request
3-
type: "Task ✅"
4-
title: "[Task]: "
3+
type: 'Task ✅'
4+
title: '[Task]: '
55
labels: []
66
body:
77
- type: textarea
@@ -16,7 +16,7 @@ body:
1616
- type: textarea
1717
id: additional-context
1818
attributes:
19-
label: "Additional Context"
20-
description: "Add any other context or details about the problem here (e.g. link to Discussion, etc.)."
19+
label: 'Additional Context'
20+
description: 'Add any other context or details about the problem here (e.g. link to Discussion, etc.).'
2121
validations:
2222
required: false

.github/ISSUE_TEMPLATE/3-chore.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Chore
22
description: Chore request
3-
type: "Chore 🧹"
4-
title: "[Chore]: "
5-
labels: ["chore", "needs-triage"]
3+
type: 'Chore 🧹'
4+
title: '[Chore]: '
5+
labels: ['chore', 'needs-triage']
66
body:
77
- type: textarea
88
id: description
@@ -16,7 +16,7 @@ body:
1616
- type: textarea
1717
id: additional-context
1818
attributes:
19-
label: "Additional Context"
20-
description: "Add any other context or details about the problem here (e.g. link to Discussion, etc.)."
19+
label: 'Additional Context'
20+
description: 'Add any other context or details about the problem here (e.g. link to Discussion, etc.).'
2121
validations:
2222
required: false

.github/workflows/_security-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Security Checks
22
on:
33
workflow_call:
44
permissions:
5-
contents: read
5+
contents: read
66
jobs:
77
trivy:
88
name: Trivy

.github/workflows/_static-checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Static Checks
22
on:
33
workflow_call:
44
permissions:
5-
contents: read
5+
contents: read
66
jobs:
77
lint:
88
name: ESLint Check
@@ -34,7 +34,7 @@ jobs:
3434
name: Build App Check
3535
runs-on: ubuntu-latest
3636
env:
37-
NODE_OPTIONS: "--max_old_space_size=4096"
37+
NODE_OPTIONS: '--max_old_space_size=4096'
3838
steps:
3939
- name: Checkout Repository
4040
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

.prettierrc

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"semi": false,
3+
"trailingComma": "es5",
4+
"singleQuote": true,
5+
"tabWidth": 2,
6+
"useTabs": false,
7+
"plugins": [
8+
"prettier-plugin-tailwindcss",
9+
"prettier-plugin-classnames",
10+
"prettier-plugin-merge"
11+
],
12+
"tailwindFunctions": ["tv", "twMerge", "composeTailwindRenderProps"],
13+
"customFunctions": ["tv", "twMerge", "composeTailwindRenderProps"],
14+
"tailwindConfig": "./tailwind.config.ts"
15+
}

0 commit comments

Comments
 (0)