From 9152f3869f283554d7360178970491b75218d0d8 Mon Sep 17 00:00:00 2001 From: Niverton Date: Sat, 16 Mar 2024 12:35:14 +0100 Subject: [PATCH] chore(project): added project and formater configs --- neovim.yml | 6 ++++++ selene.toml | 8 ++++++++ stylua.toml | 8 ++++++++ 3 files changed, 22 insertions(+) create mode 100644 neovim.yml create mode 100644 selene.toml create mode 100644 stylua.toml diff --git a/neovim.yml b/neovim.yml new file mode 100644 index 0000000..b9235ab --- /dev/null +++ b/neovim.yml @@ -0,0 +1,6 @@ +--- +base: lua51 + +globals: + vim: + any: true diff --git a/selene.toml b/selene.toml new file mode 100644 index 0000000..e7005c3 --- /dev/null +++ b/selene.toml @@ -0,0 +1,8 @@ +std = "neovim" + +[rules] +global_usage = "allow" +if_same_then_else = "allow" +incorrect_standard_library_use = "allow" +mixed_table = "allow" +multiple_statements = "allow" diff --git a/stylua.toml b/stylua.toml new file mode 100644 index 0000000..66068bb --- /dev/null +++ b/stylua.toml @@ -0,0 +1,8 @@ +column_width = 120 +line_endings = "Unix" +indent_type = "Spaces" +call_parentheses = "Always" +collapse_simple_statement = "Always" + +[sort_requires] +enabled = true