Skip to content

Commit 786cb2f

Browse files
committed
Linting
1 parent 991666e commit 786cb2f

File tree

8 files changed

+61
-48
lines changed

8 files changed

+61
-48
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ body:
4646
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/CodingGarden/listd/blob/main/CODE-OF-CONDUCT.md)
4747
options:
4848
- label: I agree to follow this project's Code of Conduct
49-
required: true
49+
required: true

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ body:
3535
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/CodingGarden/listd/blob/main/CODE-OF-CONDUCT.md)
3636
options:
3737
- label: I agree to follow this project's Code of Conduct
38-
required: true
38+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
21
<!--- Please provide a general summary of your changes in the title above -->
32

43
## What type of Pull Request is this?
4+
55
**Delete all options except for the one that applies**
6+
67
- Bug fix
78
- Feature
89
- Code style update (formatting, renaming)
910
- Refactoring (no functional changes, no API changes)
1011
- Build related changes
11-
- Other (please describe):
12+
- Other (please describe):
1213

1314
## What is the current behavior?
1415

@@ -27,4 +28,3 @@ Issue Number: N/A
2728
## Other information
2829

2930
<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
30-

.github/workflows/lint.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
name: Run Lint
2-
on:
3-
pull_request:
4-
branches:
5-
- main
6-
7-
jobs:
8-
lint:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v2
13-
with:
14-
node-version: '16'
15-
- run: npm ci
16-
- run: cp .env.example .env
17-
- run: npx svelte-kit sync
18-
- run: npm run typecheck
19-
- run: npm run lint
20-
# - run: npm test
1+
name: Run Lint
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: '16'
15+
- run: npm ci
16+
- run: cp .env.example .env
17+
- run: npx svelte-kit sync
18+
- run: npm run typecheck
19+
- run: npm run lint
20+
# - run: npm test

.typesafe-i18n.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"adapter": "svelte",
3-
"outputPath": "./src/lib/i18n/",
4-
"$schema": "https://unpkg.com/[email protected]/schema/typesafe-i18n.json"
5-
}
2+
"adapter": "svelte",
3+
"outputPath": "./src/lib/i18n/",
4+
"$schema": "https://unpkg.com/[email protected]/schema/typesafe-i18n.json"
5+
}

CONTRIBUTING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ The project has a `docker-compose.yml` file ready to use if you have [Docker](ht
3737
You can also install Postgres on your local machine [directly](https://www.prisma.io/dataguide/postgresql/setting-up-a-local-postgresql-database) or use a cloud service.
3838

3939
move `.env.example` to `.env`
40+
4041
```bash
4142
mv .env.example .env
4243
```
@@ -81,16 +82,16 @@ Use the following command to generate the Prisma client:
8182
npx prisma migrate dev
8283
```
8384

84-
### Getting Google OAuth API Credentials
85+
### Getting Google OAuth API Credentials
8586

8687
1. Visit the [Google Cloud Console](https://console.developers.google.com/apis/credentials)
8788
2. Go to the OAuth consent screen tab, fill first step leaving the rest blank and click Save. This will create a project for you
8889
3. Now Publish your OAuth consent screen App.
8990
4. Go to the [Credentials tab](https://console.cloud.google.com/apis/credentials) and click Create Credentials -> OAuth Client ID
90-
* Choose Web Application
91-
* Add `http://localhost:5173` to the Authorized JavaScript origins
92-
* Add `http://localhost:5173/auth/callback/google` to the Authorized redirect URIs.
93-
* Click Create.
91+
- Choose Web Application
92+
- Add `http://localhost:5173` to the Authorized JavaScript origins
93+
- Add `http://localhost:5173/auth/callback/google` to the Authorized redirect URIs.
94+
- Click Create.
9495
5. Copy the Client ID and Client Secret and paste them into the `.env` file.
9596

9697
```bash
@@ -137,6 +138,7 @@ This project uses `ESLint` as our linter tool. To configure your VSCode workspac
137138
To further improve your development experience while working on `listd`, this project also includes a list of suggested VSCode extensions in the file `.vscode/extensions.json`.
138139

139140
### Formatter
141+
140142
This project uses [Prettier](https://prettier.io/) to format the code. You can run `npm run format:fix` to format the code before committing.
141143

142144
<!-- TODO: setup eslint -->
@@ -145,4 +147,4 @@ This project uses [Prettier](https://prettier.io/) to format the code. You can r
145147

146148
## License
147149

148-
By contributing, you agree that your contributions will be licensed under its MIT License.
150+
By contributing, you agree that your contributions will be licensed under its MIT License.

package-lock.json

Lines changed: 23 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/i18n/tr/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import onboarding from './onboarding.json';
66
const tr: Translation = {
77
...(en as Translation),
88
...listd,
9-
onboarding
9+
onboarding,
1010
};
1111

1212
export default tr;

0 commit comments

Comments
 (0)