Skip to content

My dotfiles configuration, including Neovim, fish shell, tmux...

Notifications You must be signed in to change notification settings

XiaoXiaoSN/dotfiles

Repository files navigation

dotfiles

lint

Getting Started

make all

See more configurations in the Makefile.

Writer Guide

Git Hooks

This repository use pre-commit to help developer keep the code quality.

If you install hooks, pre-commit will styling and linting before code committing.

# or check the installation page: https://pre-commit.com/#install
brew install pre-commit

pre-commit install --install-hooks -t commit-msg -t pre-commit

Lint & Format

This repository use EditorConfig and editorconfig-checker to help me keep the consistent coding styles :)

run below command to check format

editorconfig-checker

Also, we have Prettier to further ensure the code format of the project.

run below command to check format

npx prettier --check **/*.{js,ts,md,json,yaml}

or use --write to directly re-write it

npx prettier --write **/*.{js,ts,md,json,yaml}

About

My dotfiles configuration, including Neovim, fish shell, tmux...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published