Skip to content

Commit 2c30f8c

Browse files
committed
all: add stylua formatter and selene linter configs
1 parent 0a3189a commit 2c30f8c

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

selene.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
std = "lua51+vim"

stylua.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
column_width = 80
2+
line_endings = "Unix"
3+
indent_type = "Tabs"
4+
indent_width = 4
5+
quote_style = "AutoPreferSingle"

vim.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# for Neovim development
2+
[vim]
3+
any = true
4+
5+
# for LuaJIT
6+
# [jit]
7+
# any = true

0 commit comments

Comments
 (0)