Skip to content

Commit 15f049b

Browse files
committed
Refactor code style for consistency and improve formatting in various files
1 parent a00c2bd commit 15f049b

File tree

31 files changed

+92
-88
lines changed

31 files changed

+92
-88
lines changed

.prettierignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22

33
# ignore hbs files as prettier removes all spaces and makes it ugly
44
*hbs
5-
docs
6-
.vscode

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["esbenp.prettier-vscode", "mayank1513.trello-kanban-task-board"]
2+
"recommendations": ["esbenp.prettier-vscode", "mayank1513.trello-kanban-task-board"]
33
}

.vscode/settings.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
{
2-
// Formatting using Prettier by default for all languages
3-
"editor.defaultFormatter": "esbenp.prettier-vscode",
2+
// Formatting using Prettier by default for all languages
3+
"editor.defaultFormatter": "esbenp.prettier-vscode",
44

5-
// Ensure enough terminal history is preserved when running tests.
6-
"terminal.integrated.scrollback": 10000,
5+
// Ensure enough terminal history is preserved when running tests.
6+
"terminal.integrated.scrollback": 10000,
77

8-
// Disable TypeScript surveys.
9-
"typescript.surveys.enabled": false,
8+
// Disable TypeScript surveys.
9+
"typescript.surveys.enabled": false,
1010

11-
"editor.tabSize": 2,
12-
"editor.wordWrap": "on",
13-
"editor.formatOnSave": true,
14-
"editor.formatOnPaste": true,
15-
"editor.formatOnSaveMode": "file",
16-
"mayank1513.trello-kanban.Workspace.filePath": ".tkb",
17-
"cSpell.words": [
18-
"noscss"
19-
]
11+
"editor.tabSize": 2,
12+
"editor.wordWrap": "on",
13+
"editor.formatOnSave": true,
14+
"editor.formatOnPaste": true,
15+
"editor.formatOnSaveMode": "file",
16+
"mayank1513.trello-kanban.Workspace.filePath": ".tkb",
17+
"cSpell.words": ["noscss"]
2018
}

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**React18 Loaders**
22

3-
***
3+
---
44

55
# React18 Loaders <img src="https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png" style="height: 40px"/>
66

docs/client/loader-container/loader-container/-internal-/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[**React18 Loaders**](../../../../README.md)
22

3-
***
3+
---
44

55
[React18 Loaders](../../../../modules.md) / [client/loader-container/loader-container](../README.md) / \<internal\>
66

docs/client/loader-container/loader-container/-internal-/interfaces/LoaderContainerProps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[**React18 Loaders**](../../../../../README.md)
22

3-
***
3+
---
44

55
[React18 Loaders](../../../../../modules.md) / [client/loader-container/loader-container](../../README.md) / [\<internal\>](../README.md) / LoaderContainerProps
66

@@ -24,7 +24,7 @@ Defined in: [client/loader-container/loader-container.tsx:6](https://github.com/
2424

2525
`React.HTMLProps.children`
2626

27-
***
27+
---
2828

2929
### loading?
3030

docs/client/loader-container/loader-container/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[**React18 Loaders**](../../../README.md)
22

3-
***
3+
---
44

55
[React18 Loaders](../../../modules.md) / client/loader-container/loader-container
66

docs/client/loader-container/loader-container/functions/LoaderContainer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[**React18 Loaders**](../../../../README.md)
22

3-
***
3+
---
44

55
[React18 Loaders](../../../../modules.md) / [client/loader-container/loader-container](../README.md) / LoaderContainer
66

@@ -11,6 +11,7 @@
1111
Defined in: [client/loader-container/loader-container.tsx:14](https://github.com/react18-tools/turborepo-template/blob/4ba5fa0153436bcfff18898a31cd43f89214a2fe/lib/src/client/loader-container/loader-container.tsx#L14)
1212

1313
# LoaderContainer
14+
1415
A full screen container for the loading animation.
1516

1617
## Parameters

docs/constants/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[**React18 Loaders**](../README.md)
22

3-
***
3+
---
44

55
[React18 Loaders](../modules.md) / constants
66

77
# constants
88

99
## Variables
1010

11-
- [LOADER\_RGS\_KEY](variables/LOADER_RGS_KEY.md)
11+
- [LOADER_RGS_KEY](variables/LOADER_RGS_KEY.md)
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[**React18 Loaders**](../../README.md)
22

3-
***
3+
---
44

5-
[React18 Loaders](../../modules.md) / [constants](../README.md) / LOADER\_RGS\_KEY
5+
[React18 Loaders](../../modules.md) / [constants](../README.md) / LOADER_RGS_KEY
66

7-
# Variable: LOADER\_RGS\_KEY
7+
# Variable: LOADER_RGS_KEY
88

9-
> `const` **LOADER\_RGS\_KEY**: `"r18-loaders"` = `"r18-loaders"`
9+
> `const` **LOADER_RGS_KEY**: `"r18-loaders"` = `"r18-loaders"`
1010
1111
Defined in: [constants.ts:3](https://github.com/react18-tools/turborepo-template/blob/4ba5fa0153436bcfff18898a31cd43f89214a2fe/lib/src/constants.ts#L3)
1212

13-
const uuid = () => (Date.now() * Math.random()).toString(16).slice(2, 8);
13+
const uuid = () => (Date.now() \* Math.random()).toString(16).slice(2, 8);

0 commit comments

Comments
 (0)