Skip to content

Commit

Permalink
Refactoring (#52)
Browse files Browse the repository at this point in the history
refactor
  • Loading branch information
julienbrg authored Jan 13, 2025
1 parent edb6863 commit 7133332
Show file tree
Hide file tree
Showing 50 changed files with 2,563 additions and 5,099 deletions.
3 changes: 0 additions & 3 deletions .env.example

This file was deleted.

1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_PROJECT_ID=88888 # Get yours at https://cloud.reown.com/
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

8 changes: 1 addition & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
{
"extends": ["next/core-web-vitals", "prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"arrow-body-style": "off",
"prefer-arrow-callback": "off"
}
"extends": ["next/core-web-vitals", "prettier"]
}
47 changes: 0 additions & 47 deletions .github/workflows/run-tests.yml

This file was deleted.

11 changes: 2 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage
Expand All @@ -26,19 +27,11 @@ yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel

# typescript

*.tsbuildinfo
next-env.d.ts
/.history

# Misc

NOTES.md
genji_app_description*
.swc
.env
51 changes: 8 additions & 43 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,44 +1,9 @@
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem
genji_app_description*

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# IDE
.idea
.vscode

# package manager
.next
node_modules
pnpm-lock.yaml
package-lock.json
yarn.lock
public
build
coverage
.vercel
.github
.husky
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"tabWidth": 2,
"useTabs": false,
"printWidth": 100,
"bracketSpacing": true,
"arrowParens": "avoid",
"endOfLine": "auto"
}
18 changes: 0 additions & 18 deletions .prettierrc.json

This file was deleted.

10 changes: 0 additions & 10 deletions .vscode/extensions.json

This file was deleted.

41 changes: 18 additions & 23 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"files.associations": {
"*.css": "tailwindcss"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
Loading

0 comments on commit 7133332

Please sign in to comment.