Skip to content

Commit

Permalink
feat: upgade copyright message, disable link passhref and apply chang…
Browse files Browse the repository at this point in the history
…es from Next.js Boilerplate
  • Loading branch information
ixartz committed Jul 13, 2023
1 parent ebc43e3 commit 2f535b7
Show file tree
Hide file tree
Showing 8 changed files with 5,033 additions and 37 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"react/require-default-props": "off", // Allow non-defined react props as undefined
"react/jsx-props-no-spreading": "off", // _app.tsx uses spread operator and also, react-hook-form
"@next/next/no-img-element": "off", // We currently not using next/image because it isn't supported with SSG mode
"@next/next/link-passhref": "off", // Only needed when the child of Link wraps an <a> tag
"import/order": [
"error",
{
Expand Down
3 changes: 2 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
custom: ['https://creativedesignsguru.com/category/nextjs/', 'https://www.buymeacoffee.com/ixartz']
custom:
["https://donate.stripe.com/7sI5m5146ehfddm7tj", "https://nextlessjs.com"]
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh"

# Disable concurent to run build-types after ESLint in lint-staged
npx lint-staged --concurrent false
cd "$(dirname "$0")/.." && npx lint-staged --concurrent false
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"csstools.postcss",
"blanu.vscode-styled-jsx",
"msjsdiag.debugger-for-chrome",
"bradlc.vscode-tailwindcss"
"bradlc.vscode-tailwindcss",
"yoavbls.pretty-ts-errors"
]
}
15 changes: 9 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"editor.tabSize": 2,
"editor.detectIndentation": false,
"jest.autoRun": {
"watch": false,
"onSave": "test-file"
},
"search.exclude": {
"package-lock.json": true
},
Expand All @@ -14,9 +10,16 @@
"source.addMissingImports",
"source.fixAll.eslint"
],
"jest.autoRun": {
"watch": false // Start the jest with the watch flag
// "onStartup": ["all-tests"] // Run all tests upon project launch
},
"jest.showCoverageOnLoad": true, // Show code coverage when the project is launched
"jest.autoRevealOutput": "on-exec-error", // Don't automatically open test explorer terminal on launch
// Multiple language settings for json and jsonc files
"[json][jsonc]": {
"[json][jsonc][yaml]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
},
"prettier.ignorePath": ".gitignore" // Don't run prettier for files listed in .gitignore
}
Loading

0 comments on commit 2f535b7

Please sign in to comment.