Skip to content

Commit fc1bd7b

Browse files
committed
Completed exercise jonasschmedtmann#16: Fast React Pizza in section 24 of the course
1 parent b129d17 commit fc1bd7b

Some content is hidden

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

56 files changed

+7243
-408
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
"eslint:recommended",
6+
"plugin:react/recommended",
7+
"plugin:react/jsx-runtime",
8+
"plugin:react-hooks/recommended",
9+
],
10+
ignorePatterns: ["dist", ".eslintrc.cjs"],
11+
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
12+
settings: { react: { version: "18.2" } },
13+
plugins: ["react-refresh"],
14+
rules: {
15+
"react/jsx-no-target-blank": "off",
16+
"react-refresh/only-export-components": [
17+
"warn",
18+
{ allowConstantExport: true },
19+
],
20+
"react/prop-types": "off",
21+
},
22+
};
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["prettier-plugin-tailwindcss"]
3+
}

16-fast-react-pizza/starter/Cart.jsx

Lines changed: 0 additions & 44 deletions
This file was deleted.

16-fast-react-pizza/starter/CartItem.jsx

Lines changed: 0 additions & 16 deletions
This file was deleted.

16-fast-react-pizza/starter/CartOverview.jsx

Lines changed: 0 additions & 13 deletions
This file was deleted.

16-fast-react-pizza/starter/CreateOrder.jsx

Lines changed: 0 additions & 80 deletions
This file was deleted.

16-fast-react-pizza/starter/CreateUser.jsx

Lines changed: 0 additions & 30 deletions
This file was deleted.

16-fast-react-pizza/starter/EmptyCart.jsx

Lines changed: 0 additions & 13 deletions
This file was deleted.

16-fast-react-pizza/starter/Error.jsx

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)