gopher.nvim/Taskfile.yml
Smirnov Oleksandr bc3ce343a8
update tooling (#38)
* chore: delete pre-commit

* chore: switch from makefile to taskfile

* chore(ci): update and add one more linter

* chore(editorconfig): add config for Go

* chore(editorconfig): remove max_line_length

* fix: editorconfig-check on README.md
2023-07-20 00:11:59 +03:00

29 lines
607 B
YAML

version: "3"
tasks:
format:
desc: formats all lua files in repo
cmds: [stylua .]
lint:
desc: runs all linters
cmds:
- task: lint_lua
- task: lint_editorconfig
lint_lua:
desc: runs lua linter on all repo
cmds: [selene .]
lint_editorconfig:
desc: runs editorconfig-checker
cmds: [editorconfig-checker]
test:
aliases: [tests, spec]
cmds:
- |
nvim --headless \
-u ./spec/minimal_init.vim\
-c "PlenaryBustedDirectory spec \
{minimal_init='./spec/minimal_init.lua'\
,sequential=true}"