mirror of https://github.com/ray-x/go.nvim
lint
parent
5b70d93603
commit
3774ac0eba
@ -1 +1,8 @@
|
||||
std="lua51+vim"
|
||||
std="vim"
|
||||
|
||||
[rules]
|
||||
global_usage = "allow"
|
||||
multiple_statements = "allow"
|
||||
incorrect_standard_library_use = "allow"
|
||||
unused_variable = "allow"
|
||||
deprecated = "allow"
|
||||
|
@ -1,3 +1,4 @@
|
||||
indent_type = "Spaces"
|
||||
indent_width = 2
|
||||
column_width = 120
|
||||
quote_style = "AutoPreferSingle"
|
||||
|
@ -1,57 +0,0 @@
|
||||
[selene]
|
||||
base = "lua51"
|
||||
name = "vim"
|
||||
|
||||
[vim]
|
||||
any = true
|
||||
|
||||
[_G]
|
||||
property = true
|
||||
writable = "new-fields"
|
||||
|
||||
[_GO_NVIM_CFG]
|
||||
property = true
|
||||
writable = "new-fields"
|
||||
|
||||
[debug]
|
||||
property = true
|
||||
|
||||
[[describe.args]]
|
||||
type = "string"
|
||||
[[describe.args]]
|
||||
type = "function"
|
||||
|
||||
[[it.args]]
|
||||
type = "string"
|
||||
[[it.args]]
|
||||
type = "function"
|
||||
|
||||
[[before_each.args]]
|
||||
type = "function"
|
||||
[[after_each.args]]
|
||||
type = "function"
|
||||
|
||||
[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"
|
||||
|
||||
[[assert.truthy.args]]
|
||||
type = "any"
|
||||
|
||||
[[assert.spy.args]]
|
||||
type = "any"
|
||||
|
||||
[[assert.stub.args]]
|
||||
type = "any"
|
@ -0,0 +1,65 @@
|
||||
---
|
||||
base: lua52
|
||||
name: vim
|
||||
globals:
|
||||
ListView:
|
||||
any: true
|
||||
ListViewCtrl:
|
||||
any: true
|
||||
Panel:
|
||||
any: true
|
||||
TextView:
|
||||
any: true
|
||||
TextViewCtrl:
|
||||
any: true
|
||||
View:
|
||||
any: true
|
||||
ViewCtrl:
|
||||
any: true
|
||||
packer_plugins:
|
||||
any: true
|
||||
_G:
|
||||
property: new-fields
|
||||
_GO_NVIM_CFG:
|
||||
property: new-fields
|
||||
after_each:
|
||||
args:
|
||||
- type: function
|
||||
assert.are.same:
|
||||
any: true
|
||||
assert.equals:
|
||||
args:
|
||||
- type: any
|
||||
- type: any
|
||||
- required: false
|
||||
type: any
|
||||
assert.is_not:
|
||||
any: true
|
||||
assert.same:
|
||||
args:
|
||||
- type: any
|
||||
- type: any
|
||||
assert.spy:
|
||||
args:
|
||||
- type: any
|
||||
assert.stub:
|
||||
args:
|
||||
- type: any
|
||||
assert.truthy:
|
||||
args:
|
||||
- type: any
|
||||
before_each:
|
||||
args:
|
||||
- type: function
|
||||
debug:
|
||||
property: read-only
|
||||
describe:
|
||||
args:
|
||||
- type: string
|
||||
- type: function
|
||||
it:
|
||||
args:
|
||||
- type: string
|
||||
- type: function
|
||||
vim:
|
||||
any: true
|
Loading…
Reference in New Issue