Skip to content

Commit 1b6a60e

Browse files
authored
Initial commit
0 parents  commit 1b6a60e

33 files changed

+8694
-0
lines changed

.eslintrc.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"root": true,
3+
"extends": [
4+
"next/core-web-vitals",
5+
"prettier"
6+
],
7+
"plugins": [
8+
"testing-library"
9+
],
10+
"overrides": [
11+
// Only uses Testing Library lint rules in test files
12+
{
13+
"files": [
14+
"**/__tests__/**/*.[jt]s?(x)",
15+
"**/?(*.)+(spec|test).[jt]s?(x)"
16+
],
17+
"extends": [
18+
"plugin:testing-library/react"
19+
]
20+
}
21+
],
22+
"rules": {
23+
"quotes": [
24+
"error",
25+
"single"
26+
],
27+
"react-hooks/rules-of-hooks": "error",
28+
"react-hooks/exhaustive-deps": "warn"
29+
}
30+
}

.github/dependabot.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"

.gitignore

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
.pnpm-debug.log*
27+
28+
# local env files
29+
.env*.local
30+
31+
# vercel
32+
.vercel
33+
34+
# typescript
35+
*.tsbuildinfo
36+
next-env.d.ts

.idea/.gitignore

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/Project.xml

+58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jsLinters/eslint.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/nextjs-template.iml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/prettier.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.prettierignore

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
25+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
26+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
27+
28+
29+
30+
# User-specific stuff
31+
.idea/**/workspace.xml
32+
.idea/**/tasks.xml
33+
.idea/**/usage.statistics.xml
34+
.idea/**/dictionaries
35+
.idea/**/shelf
36+
37+
# AWS User-specific
38+
.idea/**/aws.xml
39+
40+
# Generated files
41+
.idea/**/contentModel.xml
42+
43+
# Sensitive or high-churn files
44+
.idea/**/dataSources/
45+
.idea/**/dataSources.ids
46+
.idea/**/dataSources.local.xml
47+
.idea/**/sqlDataSources.xml
48+
.idea/**/dynamic.xml
49+
.idea/**/uiDesigner.xml
50+
.idea/**/dbnavigator.xml
51+
52+
# Gradle
53+
.idea/**/gradle.xml
54+
.idea/**/libraries
55+
56+
# Gradle and Maven with auto-import
57+
# When using Gradle or Maven with auto-import, you should exclude module files,
58+
# since they will be recreated, and may cause churn. Uncomment if using
59+
# auto-import.
60+
# .idea/artifacts
61+
# .idea/compiler.xml
62+
# .idea/jarRepositories.xml
63+
# .idea/modules.xml
64+
# .idea/*.iml
65+
# .idea/modules
66+
# *.iml
67+
# *.ipr
68+
69+
# CMake
70+
cmake-build-*/
71+
72+
# Mongo Explorer plugin
73+
.idea/**/mongoSettings.xml
74+
75+
# File-based project format
76+
*.iws
77+
78+
# IntelliJ
79+
out/
80+
81+
# mpeltonen/sbt-idea plugin
82+
.idea_modules/
83+
84+
# JIRA plugin
85+
atlassian-ide-plugin.xml
86+
87+
# Cursive Clojure plugin
88+
.idea/replstate.xml
89+
90+
# SonarLint plugin
91+
.idea/sonarlint/
92+
93+
# Crashlytics plugin (for Android Studio and IntelliJ)
94+
com_crashlytics_export_strings.xml
95+
crashlytics.properties
96+
crashlytics-build.properties
97+
fabric.properties
98+
99+
# Editor-based Rest Client
100+
.idea/httpRequests
101+
102+
# Android studio 3.1+ serialized cache file
103+
.idea/caches/build_file_checksums.ser

.prettierrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 4,
4+
"singleQuote": true,
5+
"bracketSameLine": true
6+
}

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
3+
My Next.js Template
4+
- Next.js
5+
- TypeScript
6+
- ESLint
7+
- Prettier
8+
- TailwindCSS
9+
10+
Honestly there are probably better boilerplates online with more features, but I thought it would be interesting to build this one up from scratch while I discover new things.

0 commit comments

Comments
 (0)