Skip to content

Commit a27fb73

Browse files
committed
style: reformat md with ESLint and prettier
1 parent 9411b99 commit a27fb73

Some content is hidden

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

45 files changed

+952
-478
lines changed

client/.eslintrc.cjs

Lines changed: 27 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,29 @@
11
module.exports = {
2-
"env": {
3-
"browser": true,
4-
"es2021": true
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
},
6+
extends: [
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:react/recommended",
10+
],
11+
overrides: [
12+
{
13+
env: {
14+
node: true,
15+
},
16+
files: [".eslintrc.{js,cjs}"],
17+
parserOptions: {
18+
sourceType: "script",
19+
},
520
},
6-
"extends": [
7-
"eslint:recommended",
8-
"plugin:@typescript-eslint/recommended",
9-
"plugin:react/recommended"
10-
],
11-
"overrides": [
12-
{
13-
"env": {
14-
"node": true
15-
},
16-
"files": [
17-
".eslintrc.{js,cjs}"
18-
],
19-
"parserOptions": {
20-
"sourceType": "script"
21-
}
22-
}
23-
],
24-
"parser": "@typescript-eslint/parser",
25-
"parserOptions": {
26-
"ecmaVersion": "latest",
27-
"sourceType": "module"
28-
},
29-
"plugins": [
30-
"@typescript-eslint",
31-
"react"
32-
],
33-
"rules": {
34-
}
35-
}
21+
],
22+
parser: "@typescript-eslint/parser",
23+
parserOptions: {
24+
ecmaVersion: "latest",
25+
sourceType: "module",
26+
},
27+
plugins: ["@typescript-eslint", "react"],
28+
rules: {},
29+
};

client/index.html

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,32 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="https://blog.lawrencemcdaniel.com/wp-content/uploads/fbrfg/favicon-32x32.png" />
5+
<link
6+
rel="icon"
7+
type="image/svg+xml"
8+
href="https://blog.lawrencemcdaniel.com/wp-content/uploads/fbrfg/favicon-32x32.png"
9+
/>
610
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
711
<title>OpenAI Examples</title>
812
<meta property="og:locale" content="en_US" />
913
<meta property="og:type" content="website" />
1014
<meta property="og:title" content="Lawrence McDaniel - OpenAI Examples" />
11-
<meta property="og:description" content="All 30 example applications from OpenAI API official documentation" />
12-
<meta property="og:url" content="https://openai.lawrencemcdaniel.com/home/" />
13-
<meta property="og:image" content="https://blog.lawrencemcdaniel.com/wp-content/uploads/2023/10/youtube-branding-openai.jpeg" />
14-
<meta property="og:site_name" content="Lawrence McDaniel - OpenAI Example Applications" />
15+
<meta
16+
property="og:description"
17+
content="All 30 example applications from OpenAI API official documentation"
18+
/>
19+
<meta
20+
property="og:url"
21+
content="https://openai.lawrencemcdaniel.com/home/"
22+
/>
23+
<meta
24+
property="og:image"
25+
content="https://blog.lawrencemcdaniel.com/wp-content/uploads/2023/10/youtube-branding-openai.jpeg"
26+
/>
27+
<meta
28+
property="og:site_name"
29+
content="Lawrence McDaniel - OpenAI Example Applications"
30+
/>
1531
<meta name="twitter:card" content="summary_large_image" />
1632
<meta name="twitter:site" content="@LorenzoDePolanco" />
1733
</head>

client/src/App.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#root {
22
max-width: 1280px;
33
margin: 0 auto;
4-
padding: 0;;
4+
padding: 0;
55
}
66

77
.App {
8-
border: 1px solid #1d5268
8+
border: 1px solid #1d5268;
99
}
1010

1111
.app-title {
@@ -41,7 +41,7 @@ h5 {
4141
.footer a {
4242
text-align: center;
4343
color: #333;
44-
font-family: 'Courier New', Courier, monospace;
44+
font-family: "Courier New", Courier, monospace;
4545
}
4646

4747
.footer a:hover {

0 commit comments

Comments
 (0)