Skip to content

Commit

Permalink
Merge pull request #6 from calblueprint/ethan/add-file-structure
Browse files Browse the repository at this point in the history
Added file structure
  • Loading branch information
EthanAuyeung authored Oct 1, 2023
2 parents 7b516c0 + b82710b commit 6477456
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ["@calblueprint/eslint-config-react", "eslint:recommended", "plugin:react/recommended", "plugin:prettier/recommended"],
extends: ["@calblueprint/eslint-config-react"],
rules: {
// Add any custom rules here
// Disable the rule that requires React to be in scope -- we don't need this with React 18
Expand Down
6 changes: 4 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"prettier:fix": "npx prettier --write ."
},
"dependencies": {
"@calblueprint/prettier-config": "^0.0.1",
"@supabase/supabase-js": "^2.37.0",
"@types/node": "20.6.3",
"@types/react": "18.2.22",
Expand All @@ -25,9 +24,10 @@
},
"devDependencies": {
"@calblueprint/eslint-config-react": "^0.0.3",
"@calblueprint/prettier-config": "^0.0.1",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.49.0",
"eslint": "^8.50.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.28.1",
Expand Down
5 changes: 5 additions & 0 deletions src/app/login.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default function Home() {
return (
<h1> yo </h1>
)
}
95 changes: 0 additions & 95 deletions src/app/page.tsx

This file was deleted.

24 changes: 20 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -19,7 +23,19 @@
}
],
"paths": {
"@/*": ["./src/*"]
}
"@/*": [
"./src/*"
]
},
"forceConsistentCasingInFileNames": true
},
}
"include": [
"next-env.d.ts",
".next/types/**/*.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
}

0 comments on commit 6477456

Please sign in to comment.