Skip to content

Commit

Permalink
style: reformat md with ESLint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lpm0073 committed Nov 19, 2023
1 parent 9411b99 commit a27fb73
Show file tree
Hide file tree
Showing 45 changed files with 952 additions and 478 deletions.
60 changes: 27 additions & 33 deletions client/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
module.exports = {
"env": {
"browser": true,
"es2021": true
env: {
browser: true,
es2021: true,
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
],
overrides: [
{
env: {
node: true,
},
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended"
],
"overrides": [
{
"env": {
"node": true
},
"files": [
".eslintrc.{js,cjs}"
],
"parserOptions": {
"sourceType": "script"
}
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"react"
],
"rules": {
}
}
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["@typescript-eslint", "react"],
rules: {},
};
26 changes: 21 additions & 5 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,32 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="https://blog.lawrencemcdaniel.com/wp-content/uploads/fbrfg/favicon-32x32.png" />
<link
rel="icon"
type="image/svg+xml"
href="https://blog.lawrencemcdaniel.com/wp-content/uploads/fbrfg/favicon-32x32.png"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenAI Examples</title>
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Lawrence McDaniel - OpenAI Examples" />
<meta property="og:description" content="All 30 example applications from OpenAI API official documentation" />
<meta property="og:url" content="https://openai.lawrencemcdaniel.com/home/" />
<meta property="og:image" content="https://blog.lawrencemcdaniel.com/wp-content/uploads/2023/10/youtube-branding-openai.jpeg" />
<meta property="og:site_name" content="Lawrence McDaniel - OpenAI Example Applications" />
<meta
property="og:description"
content="All 30 example applications from OpenAI API official documentation"
/>
<meta
property="og:url"
content="https://openai.lawrencemcdaniel.com/home/"
/>
<meta
property="og:image"
content="https://blog.lawrencemcdaniel.com/wp-content/uploads/2023/10/youtube-branding-openai.jpeg"
/>
<meta
property="og:site_name"
content="Lawrence McDaniel - OpenAI Example Applications"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@LorenzoDePolanco" />
</head>
Expand Down
6 changes: 3 additions & 3 deletions client/src/App.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#root {
max-width: 1280px;
margin: 0 auto;
padding: 0;;
padding: 0;
}

.App {
border: 1px solid #1d5268
border: 1px solid #1d5268;
}

.app-title {
Expand Down Expand Up @@ -41,7 +41,7 @@ h5 {
.footer a {
text-align: center;
color: #333;
font-family: 'Courier New', Courier, monospace;
font-family: "Courier New", Courier, monospace;
}

.footer a:hover {
Expand Down
Loading

0 comments on commit a27fb73

Please sign in to comment.