Skip to content

Commit 058a902

Browse files
committed
chore(ci):linter rules applied to codebase
1 parent 5b71795 commit 058a902

31 files changed

Lines changed: 414 additions & 242 deletions

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ body:
1111
- type: textarea
1212
attributes:
1313
label: Describe your issue
14-
description: Describe the new feature you want to add
14+
description: Describe the new feature you want to add

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
2222

2323
Examples of unacceptable behavior by participants include:
2424

25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
3333

3434
## Our Responsibilities
3535

CONTRIBUTING.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,27 @@ Please note we have a [code of conduct](https://github.com/reactdeveloperske/rea
88

99
- Create a [new issue](https://github.com/reactdeveloperske/reactdevske-website/issues)
1010
- Comment on the issue (if you'd like to be assigned to it) - that way the issue can be assigned to you.
11-
11+
1212
### Open issues
13+
1314
- Go to [open issues](https://github.com/reactdeveloperske/reactdevske-website/issues)
1415
- select an issue of your choice that is `open` or `need help` or is `up-for-grabs` and is not assigned.
1516
- Comment on the issue (if you'd like to be assigned to it) - that way the issue can be assigned to you.
16-
1717

1818
### Fork the repository (repo)
1919

2020
- If you're not sure, here's how to [fork the repo](https://help.github.com/en/articles/fork-a-repo)
2121

22-
23-
### Set up your local environment (optional)
22+
### Set up your local environment (optional)
2423

2524
If you're ready to contribute and create your PR, it will help to set up a local environment so you can see your changes.
2625

27-
1. Set up your development environment
28-
- install your favorite text editor/IDE
29-
- install [Nodejs](nodejs.org)
30-
31-
32-
<br>
26+
1. Set up your development environment
27+
28+
- install your favorite text editor/IDE
29+
- install [Nodejs](nodejs.org)
30+
31+
<br>
3332

3433
2. Clone your fork
3534

@@ -45,7 +44,6 @@ If you've already forked the repo, you'll want to ensure your fork is configured
4544

4645
To [configure your fork](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork):
4746

48-
4947
```
5048
$ git remote add upstream https://github.com/reactdeveloperske/reactdevske-website.git
5149
```
@@ -60,21 +58,21 @@ $ git merge upstream/develop
6058

6159
3. Install dependencies
6260

63-
```
64-
$ yarn install
65-
```
61+
```
62+
$ yarn install
63+
```
64+
6665
or
6766

6867
```
6968
$ npm install
7069
```
71-
<br>
72-
73-
### Make awesome changes!
7470

7571
<br>
7672

73+
### Make awesome changes!
7774

75+
<br>
7876

7977
1. Create new branch for your changes
8078

@@ -87,14 +85,17 @@ $ git checkout -b new_branch_name
8785
```
8886
$ yarn run dev
8987
```
90-
or
88+
89+
or
90+
9191
```
9292
npm run dev
9393
```
9494

9595
<br>
9696

97-
### Start developing!
97+
### Start developing!
98+
9899
<br>
99100

100101
- Open this directory in your favorite text editor / IDE, and see your changes live by visiting `localhost:3000` from your browser
@@ -117,4 +118,3 @@ $ git push
117118
- After your changes are commited to your GitHub fork, submit a pull request (PR) to the `develop` branch of the `reactdeveloperske/reactdevske-website` repo
118119
- In your PR description, reference the issue it resolves (see [linking a pull request to an issue using a keyword](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
119120
- ex. `Updates out of date content [Fixes #1234]`
120-

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@
55

66
This is the repo for the showcase website of the React Developer Community in Kenya
77

8-
98
Check out the live version [HERE](https://reactdevske.vercel.app/)
109

1110
## Contributing to the project
1211

13-
1412
Contributions are always welcome!
1513

1614
See [`contributing.md`](https://github.com/reactdeveloperske/reactdevske-website/blob/main/CONTRIBUTING.md) for ways to get started.

e2e/default.spec.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
const { test, expect } = require('@playwright/test');
33

44
test.beforeEach(async ({ page }) => {
5-
await page.goto('http://localhost:3000');
6-
});
5+
await page.goto('http://localhost:3000');
6+
});
77

88
test.describe('Basic test', () => {
9-
test('should show the title', async ({ page }) => {
10-
const title = page.locator('title');
11-
await expect(title).toHaveText('Reactjs Developer Community in Kenya');
12-
});
13-
});
9+
test('should show the title', async ({ page }) => {
10+
const title = page.locator('title');
11+
await expect(title).toHaveText('Reactjs Developer Community in Kenya');
12+
});
13+
});

next.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ const nextConfig = {
33
reactStrictMode: true,
44
pageExtensions: ['page.jsx', 'api.js'],
55
eslint: {
6-
dirs: ['src','e2e'],
6+
dirs: ['src', 'e2e'],
77
},
8-
images:{
9-
domains:['bit.ly']
10-
}
11-
}
8+
images: {
9+
domains: ['bit.ly'],
10+
},
11+
};
1212

13-
module.exports = nextConfig
13+
module.exports = nextConfig;

playwright.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const { devices } = require('@playwright/test');
77
*/
88
// require('dotenv').config();
99

10-
1110
/**
1211
* @see https://playwright.dev/docs/test-configuration
1312
* @type {import('@playwright/test').PlaywrightTestConfig}
@@ -21,7 +20,7 @@ const config = {
2120
* Maximum time expect() should wait for the condition to be met.
2221
* For example in `await expect(locator).toHaveText();`
2322
*/
24-
timeout: 5000
23+
timeout: 5000,
2524
},
2625
/* Run tests in files in parallel */
2726
fullyParallel: true,

postcss.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ module.exports = {
33
tailwindcss: {},
44
autoprefixer: {},
55
},
6-
}
6+
};

public/index.html

Lines changed: 111 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,125 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8"/>
4+
<meta charset="utf-8" />
55
<!-- Primary Meta Tags -->
6-
<title>Reactjs Developer Community in Kenya</title>
7-
<meta name="title" content="Reactjs Developer Community in Kenya">
8-
<meta name="description" content="React js Developer Community Kenya is a community of react js developers using react related technologies in the Kenyan software development eco system.">
6+
<title>Reactjs Developer Community in Kenya</title>
7+
<meta name="title" content="Reactjs Developer Community in Kenya" />
8+
<meta
9+
name="description"
10+
content="React js Developer Community Kenya is a community of react js developers using react related technologies in the Kenyan software development eco system."
11+
/>
912

10-
<!-- Open Graph / Facebook -->
11-
<meta property="og:type" content="website">
12-
<meta property="og:url" content="https://reactdevske.netlify.app/">
13-
<meta property="og:title" content="Reactjs Developer Community in Kenya">
14-
<meta property="og:description" content="React js Developer Community Kenya is a community of react js developers using react related technologies in the Kenyan software development eco system.">
15-
<meta property="og:image" content="https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1623830704/og_Image_banner_reactdevske_g3htri.png
16-
">
13+
<!-- Open Graph / Facebook -->
14+
<meta property="og:type" content="website" />
15+
<meta property="og:url" content="https://reactdevske.netlify.app/" />
16+
<meta property="og:title" content="Reactjs Developer Community in Kenya" />
17+
<meta
18+
property="og:description"
19+
content="React js Developer Community Kenya is a community of react js developers using react related technologies in the Kenyan software development eco system."
20+
/>
21+
<meta
22+
property="og:image"
23+
content="https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1623830704/og_Image_banner_reactdevske_g3htri.png
24+
"
25+
/>
1726

18-
<!-- Twitter -->
19-
<meta property="twitter:card" content="summary_large_image">
20-
<meta property="twitter:url" content="https://reactdevske.netlify.app/">
21-
<meta property="twitter:title" content="Reactjs Developer Community in Kenya">
22-
<meta property="twitter:description" content="React js Developer Community Kenya is a community of react js developers using react related technologies in the Kenyan software development eco system.">
23-
<meta property="twitter:image" content="https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1623830704/og_Image_banner_reactdevske_g3htri.png
24-
">
27+
<!-- Twitter -->
28+
<meta property="twitter:card" content="summary_large_image" />
29+
<meta property="twitter:url" content="https://reactdevske.netlify.app/" />
30+
<meta
31+
property="twitter:title"
32+
content="Reactjs Developer Community in Kenya"
33+
/>
34+
<meta
35+
property="twitter:description"
36+
content="React js Developer Community Kenya is a community of react js developers using react related technologies in the Kenyan software development eco system."
37+
/>
38+
<meta
39+
property="twitter:image"
40+
content="https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1623830704/og_Image_banner_reactdevske_g3htri.png
41+
"
42+
/>
2543
<link rel="icon" href="%25PUBLIC_URL%25/favicon.ico" />
2644
<meta name="viewport" content="width=device-width, initial-scale=1" />
2745
<meta name="theme-color" content="#000000" />
2846
<link rel="apple-touch-icon" href="%25PUBLIC_URL%25/logo192.png" />
2947
<link rel="manifest" href="%25PUBLIC_URL%25/manifest.json" />
30-
<link rel="apple-touch-icon" sizes="57x57" href="%25PUBLIC_URL%25/apple-icon-57x57.png">
31-
<link rel="apple-touch-icon" sizes="60x60" href="%25PUBLIC_URL%25/apple-icon-60x60.png">
32-
<link rel="apple-touch-icon" sizes="72x72" href="%25PUBLIC_URL%25/apple-icon-72x72.png">
33-
<link rel="apple-touch-icon" sizes="76x76" href="%25PUBLIC_URL%25/apple-icon-76x76.png">
34-
<link rel="apple-touch-icon" sizes="114x114" href="%25PUBLIC_URL%25/apple-icon-114x114.png">
35-
<link rel="apple-touch-icon" sizes="120x120" href="%25PUBLIC_URL%25/apple-icon-120x120.png">
36-
<link rel="apple-touch-icon" sizes="144x144" href="%25PUBLIC_URL%25/apple-icon-144x144.png">
37-
<link rel="apple-touch-icon" sizes="152x152" href="%25PUBLIC_URL%25/apple-icon-152x152.png">
38-
<link rel="apple-touch-icon" sizes="180x180" href="%25PUBLIC_URL%25/apple-icon-180x180.png">
39-
<link rel="icon" type="image/png" sizes="192x192" href="%25PUBLIC_URL%25/android-icon-192x192.png">
40-
<link rel="icon" type="image/png" sizes="32x32" href="%25PUBLIC_URL%25/favicon-32x32.png">
41-
<link rel="icon" type="image/png" sizes="96x96" href="%25PUBLIC_URL%25/favicon-96x96.png">
42-
<link rel="icon" type="image/png" sizes="16x16" href="%25PUBLIC_URL%25/favicon-16x16.png">
43-
<meta name="msapplication-TileColor" content="#ffffff">
44-
<meta name="msapplication-TileImage" content="%PUBLIC_URL%/ms-icon-144x144.png">
45-
<meta name="theme-color" content="#ffffff">
48+
<link
49+
rel="apple-touch-icon"
50+
sizes="57x57"
51+
href="%25PUBLIC_URL%25/apple-icon-57x57.png"
52+
/>
53+
<link
54+
rel="apple-touch-icon"
55+
sizes="60x60"
56+
href="%25PUBLIC_URL%25/apple-icon-60x60.png"
57+
/>
58+
<link
59+
rel="apple-touch-icon"
60+
sizes="72x72"
61+
href="%25PUBLIC_URL%25/apple-icon-72x72.png"
62+
/>
63+
<link
64+
rel="apple-touch-icon"
65+
sizes="76x76"
66+
href="%25PUBLIC_URL%25/apple-icon-76x76.png"
67+
/>
68+
<link
69+
rel="apple-touch-icon"
70+
sizes="114x114"
71+
href="%25PUBLIC_URL%25/apple-icon-114x114.png"
72+
/>
73+
<link
74+
rel="apple-touch-icon"
75+
sizes="120x120"
76+
href="%25PUBLIC_URL%25/apple-icon-120x120.png"
77+
/>
78+
<link
79+
rel="apple-touch-icon"
80+
sizes="144x144"
81+
href="%25PUBLIC_URL%25/apple-icon-144x144.png"
82+
/>
83+
<link
84+
rel="apple-touch-icon"
85+
sizes="152x152"
86+
href="%25PUBLIC_URL%25/apple-icon-152x152.png"
87+
/>
88+
<link
89+
rel="apple-touch-icon"
90+
sizes="180x180"
91+
href="%25PUBLIC_URL%25/apple-icon-180x180.png"
92+
/>
93+
<link
94+
rel="icon"
95+
type="image/png"
96+
sizes="192x192"
97+
href="%25PUBLIC_URL%25/android-icon-192x192.png"
98+
/>
99+
<link
100+
rel="icon"
101+
type="image/png"
102+
sizes="32x32"
103+
href="%25PUBLIC_URL%25/favicon-32x32.png"
104+
/>
105+
<link
106+
rel="icon"
107+
type="image/png"
108+
sizes="96x96"
109+
href="%25PUBLIC_URL%25/favicon-96x96.png"
110+
/>
111+
<link
112+
rel="icon"
113+
type="image/png"
114+
sizes="16x16"
115+
href="%25PUBLIC_URL%25/favicon-16x16.png"
116+
/>
117+
<meta name="msapplication-TileColor" content="#ffffff" />
118+
<meta
119+
name="msapplication-TileImage"
120+
content="%PUBLIC_URL%/ms-icon-144x144.png"
121+
/>
122+
<meta name="theme-color" content="#ffffff" />
46123
</head>
47124
<body>
48125
<noscript>You need to enable JavaScript to run this app.</noscript>

0 commit comments

Comments
 (0)