Skip to content

Commit 761d0ec

Browse files
committed
ran: formatter, again.
1 parent 50ad794 commit 761d0ec

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed

CONTRIBUTING.md

+23-23
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ pnpm run lint
108108

109109
Diagnostic tool that checks for the following:
110110

111-
- Unused CSS
112-
- Svelte A11y hints
113-
- TypeScript compiler errors
111+
- Unused CSS
112+
- Svelte A11y hints
113+
- TypeScript compiler errors
114114

115115
```bash
116116
pnpm run check
@@ -130,11 +130,11 @@ doc-548-submit-a-pull-request-section-to-contribution-guide
130130

131131
When `TYPE` can be:
132132

133-
- **feat** - is a new feature
134-
- **doc** - documentation only changes
135-
- **cicd** - changes related to CI/CD system
136-
- **fix** - a bug fix
137-
- **refactor** - code change that neither fixes a bug nor adds a feature
133+
- **feat** - is a new feature
134+
- **doc** - documentation only changes
135+
- **cicd** - changes related to CI/CD system
136+
- **fix** - a bug fix
137+
- **refactor** - code change that neither fixes a bug nor adds a feature
138138

139139
**All PRs must include a commit message with a description of the changes made!**
140140

@@ -175,22 +175,22 @@ $ git push origin [name_of_your_new_branch]
175175

176176
Before committing always make sure to run all available tools to improve the codebase:
177177

178-
- Formatter
179-
- `pnpm run format`
180-
- Tests
181-
- `pnpm test`
182-
- Diagnostics
183-
- `pnpm run check`
178+
- Formatter
179+
- `pnpm run format`
180+
- Tests
181+
- `pnpm test`
182+
- Diagnostics
183+
- `pnpm run check`
184184

185185
### Performance
186186

187187
Page load times are a key consideration for users of all browsers and device types.
188188

189189
There are some general things we can do in front-end development:
190190

191-
- Minimize HTTP requests
192-
- Minimize blocking – content should be readable before client-side processing
193-
- Lazy load "supplementary" content, especially images
191+
- Minimize HTTP requests
192+
- Minimize blocking – content should be readable before client-side processing
193+
- Lazy load "supplementary" content, especially images
194194

195195
### Don't Repeat Yourself (DRY)
196196

@@ -202,12 +202,12 @@ If you stick to this principle, you will ensure that you will only ever need to
202202

203203
Separate _structure_ from _presentation_ from _behavior_ to aid maintainability and understanding.
204204

205-
- Keep CSS (presentation), JS (behavior) and HTML (structure) in the same respective Svelte component
206-
- Avoid writing inline CSS or Javascript in HTML
207-
- Avoid writing CSS or HTML in Javascript
208-
- Don't choose HTML elements to imply style
209-
- Where appropriate, use CSS or Svelte rather than Javascript for animations and transitions
210-
- Try to use templates when defining markup in Javascript
205+
- Keep CSS (presentation), JS (behavior) and HTML (structure) in the same respective Svelte component
206+
- Avoid writing inline CSS or Javascript in HTML
207+
- Avoid writing CSS or HTML in Javascript
208+
- Don't choose HTML elements to imply style
209+
- Where appropriate, use CSS or Svelte rather than Javascript for animations and transitions
210+
- Try to use templates when defining markup in Javascript
211211

212212
### Write code to be read
213213

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
Appwrite Console has been built with the following frameworks:
1212

13-
- [Svelte](https://svelte.dev/)
14-
- [Svelte Kit](https://kit.svelte.dev/)
13+
- [Svelte](https://svelte.dev/)
14+
- [Svelte Kit](https://kit.svelte.dev/)
1515

1616
## Developer Experience
1717

src/routes/(console)/project-[project]/messaging/wizard/pushFormList.svelte

+6-6
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@
172172
id={`${rowIndex}-key`}
173173
isMultiple
174174
fullWidth
175-
bind:value={
176-
$messageParams[MessagingProviderType.Push].data[rowIndex][0]
177-
}
175+
bind:value={$messageParams[MessagingProviderType.Push].data[
176+
rowIndex
177+
][0]}
178178
placeholder="Enter key"
179179
label="Key"
180180
showLabel={false} />
@@ -183,9 +183,9 @@
183183
id={`${rowIndex}-value`}
184184
isMultiple
185185
fullWidth
186-
bind:value={
187-
$messageParams[MessagingProviderType.Push].data[rowIndex][1]
188-
}
186+
bind:value={$messageParams[MessagingProviderType.Push].data[
187+
rowIndex
188+
][1]}
189189
placeholder="Enter value"
190190
label="Value"
191191
showLabel={false}

0 commit comments

Comments
 (0)