Skip to content

Commit

Permalink
add luacheck stylua config files
Browse files Browse the repository at this point in the history
  • Loading branch information
cschindlbeck committed Jan 8, 2024
1 parent 25266e9 commit e42b52c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
globals = {
"vim",
}
-- max_string_line_length = false
max_line_length = 140
exclude_files = { "**/*example.lua" }
4 changes: 4 additions & 0 deletions stylua.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
column_width = 120
line_endings = "Unix"
# indent_type = "Tabs"
indent_width = 2

0 comments on commit e42b52c

Please sign in to comment.