Skip to content
/ nextjs-dApp-starter Public template

NextJS dApp starter template developed with popular technologies.

License

Notifications You must be signed in to change notification settings

damla/nextjs-dApp-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f051ad4 · Apr 19, 2022

History

28 Commits
Apr 17, 2022
Apr 17, 2022
Apr 19, 2022
Apr 19, 2022
Apr 17, 2022
Apr 17, 2022
Apr 17, 2022
Apr 17, 2022
Apr 17, 2022
Apr 17, 2022
Apr 17, 2022
Apr 19, 2022
Apr 17, 2022
Apr 18, 2022
Apr 19, 2022
Apr 17, 2022
Apr 17, 2022
Apr 17, 2022
Apr 19, 2022

Repository files navigation

NextJS Starter

Technology Stack

Notes

If the husky hooks do not work, delete files found under the .husky folder and run these commands:

yarn husky add .husky/pre-commit
yarn husky add .husky/commit-msg

Fill the created files as follow:

pre-commit

Basically, it will do linting on staged files.

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged

commit-msg

This will force developer to use semantic commits.

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

undefined
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

#!/bin/sh
if ! head -1 "$1" | grep -qE "^(feat|fix|chore|docs|test|style|refactor|perf|build|ci|revert)(\(.+?\))?: .{1,}$"; then
    echo "Aborting commit. Your commit message is invalid." >&2
    exit 1
fi
if ! head -1 "$1" | grep -qE "^.{1,88}$"; then
    echo "Aborting commit. Your commit message is too long." >&2
    exit 1
fi