chore(selene): update selene config
This commit is contained in:
parent
7c2b218370
commit
0da5329439
2 changed files with 19 additions and 45 deletions
45
nvim.toml
45
nvim.toml
|
|
@ -1,45 +0,0 @@
|
|||
[vim]
|
||||
any = true
|
||||
|
||||
[MiniTest]
|
||||
type = "table"
|
||||
|
||||
[describe]
|
||||
any = true
|
||||
[[describe.args]]
|
||||
type = "string"
|
||||
[[describe.args]]
|
||||
type = "function"
|
||||
|
||||
[it]
|
||||
any = true
|
||||
[[it.args]]
|
||||
type = "string"
|
||||
[[it.args]]
|
||||
type = "function"
|
||||
|
||||
[before_each]
|
||||
any = true
|
||||
[[before_each.args]]
|
||||
type = "function"
|
||||
[[after_each.args]]
|
||||
type = "function"
|
||||
|
||||
[assert]
|
||||
any = true
|
||||
|
||||
[assert.is_not]
|
||||
any = true
|
||||
|
||||
[[assert.equals.args]]
|
||||
type = "any"
|
||||
[[assert.equals.args]]
|
||||
type = "any"
|
||||
[[assert.equals.args]]
|
||||
type = "any"
|
||||
required = false
|
||||
|
||||
[[assert.same.args]]
|
||||
type = "any"
|
||||
[[assert.same.args]]
|
||||
type = "any"
|
||||
19
nvim.yaml
Normal file
19
nvim.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
base: lua52
|
||||
globals:
|
||||
vim:
|
||||
any: true
|
||||
|
||||
MiniTest:
|
||||
any: true
|
||||
|
||||
# plenary.nvim's testing legacy
|
||||
it:
|
||||
args:
|
||||
- type: string
|
||||
- type: function
|
||||
|
||||
describe:
|
||||
args:
|
||||
- type: string
|
||||
- type: function
|
||||
Loading…
Add table
Add a link
Reference in a new issue