From 1841aede9109533e374ac42bfb2815a81054c1fc Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Thu, 20 Jul 2023 19:51:02 +0300 Subject: [PATCH] chore: update taskfile, and linter config --- Taskfile.yml | 12 +++++++++--- selene.toml | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 3daf669..c4320bd 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -7,13 +7,19 @@ tasks: lint: desc: runs all linters cmds: - - task: lint_lua + - task: lint_selene + - task: lint_stylua - lint_lua: - desc: runs lua linter on all repo + lint_selene: + desc: runs lua linter(selene) cmds: [selene .] + lint_stylua: + desc: runs stylua in check mode + cmds: [stylua --check .] + test: + desc: runs all tests aliases: [tests, spec] cmds: - | diff --git a/selene.toml b/selene.toml index 8117799..9f6f1c4 100644 --- a/selene.toml +++ b/selene.toml @@ -1 +1,2 @@ -std="nvim+lua51" +std = "nvim+lua52" +exclude = [".tests/*"]