From 57cbd6a1d37c4ea6ba95f2c5943a7dae7b4007cd Mon Sep 17 00:00:00 2001 From: Damian Senn Date: Fri, 26 Apr 2024 11:50:48 +0200 Subject: [PATCH] chore: add selene.toml --- neovim.yml | 25 +++++++++++++++++++++++++ selene.toml | 7 +++++++ 2 files changed, 32 insertions(+) create mode 100644 neovim.yml create mode 100644 selene.toml diff --git a/neovim.yml b/neovim.yml new file mode 100644 index 0000000..9de2931 --- /dev/null +++ b/neovim.yml @@ -0,0 +1,25 @@ +--- +base: lua51 + +globals: + vim: + any: true + assert: + args: + - type: bool + - type: string + required: false + after_each: + args: + - type: function + before_each: + args: + - type: function + describe: + args: + - type: string + - type: function + it: + args: + - type: string + - type: function diff --git a/selene.toml b/selene.toml new file mode 100644 index 0000000..0882953 --- /dev/null +++ b/selene.toml @@ -0,0 +1,7 @@ +std = "neovim" + +[rules] +global_usage = "allow" +multiple_statements = "allow" +incorrect_standard_library_use = "allow" +mixed_table = "allow"