diff options
| author | Caleb Maclennan <caleb@alerque.com> | 2022-03-19 17:28:25 +0300 |
|---|---|---|
| committer | Caleb Maclennan <caleb@alerque.com> | 2022-03-19 17:28:25 +0300 |
| commit | 989a5b11310c1c6da900c2f997712405a7986d09 (patch) | |
| tree | 21f3d17c62609c80db7cfc718b9c5c9d3057f391 | |
| parent | 601ad8d59f11d7180015d0ecfb9d0a8d67f6f5c1 (diff) | |
| download | luasocket-989a5b11310c1c6da900c2f997712405a7986d09.tar.gz luasocket-989a5b11310c1c6da900c2f997712405a7986d09.tar.bz2 luasocket-989a5b11310c1c6da900c2f997712405a7986d09.zip | |
chore: Include luacheck config in editorconfig setup
| -rw-r--r-- | .editorconfig | 2 | ||||
| -rw-r--r-- | .luacheckrc | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.editorconfig b/.editorconfig index edf8aa1..56ad87d 100644 --- a/.editorconfig +++ b/.editorconfig | |||
| @@ -6,7 +6,7 @@ insert_final_newline = true | |||
| 6 | trim_trailing_whitespace = true | 6 | trim_trailing_whitespace = true |
| 7 | charset = utf-8 | 7 | charset = utf-8 |
| 8 | 8 | ||
| 9 | [*.{lua,rockspec}] | 9 | [{*.lua,*.rockspec,.luacheckrc}] |
| 10 | indent_style = space | 10 | indent_style = space |
| 11 | indent_size = 4 | 11 | indent_size = 4 |
| 12 | 12 | ||
diff --git a/.luacheckrc b/.luacheckrc index fcec7d5..8b25dd7 100644 --- a/.luacheckrc +++ b/.luacheckrc | |||
| @@ -8,10 +8,10 @@ not_globals = { | |||
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | include_files = { | 10 | include_files = { |
| 11 | "**/*.lua", | 11 | "**/*.lua", |
| 12 | "**/*.rockspec", | 12 | "**/*.rockspec", |
| 13 | ".busted", | 13 | ".busted", |
| 14 | ".luacheckrc", | 14 | ".luacheckrc", |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | exclude_files = { | 17 | exclude_files = { |
