nvim-tree / nvim-web-devicons

lua `fork` of vim-web-devicons for neovim
MIT License
1.98k stars 183 forks source link

ci: add stylua, luacheck, luarc, editorconfig, pre-commit hooks #218

Closed alex-courtis closed 1 year ago

alex-courtis commented 1 year ago

Mostly sourced from https://github.com/nvim-tree/nvim-tree.lua

mg979 commented 1 year ago

Can't we just avoid git hooks and have a shell script that runs luacheck/stylua/make? You'll have to do make anyway, you can't automate everything.

alex-courtis commented 1 year ago

Can't we just avoid git hooks and have a shell script that runs luacheck/stylua/make? You'll have to do make anyway, you can't automate everything.

That is sensible. It sidesteps the git hooks issue.

Added to makefile and updated doc.

mg979 commented 1 year ago

Much better thanks :)