Taming the linter again
This commit is contained in:
+14
@@ -36,3 +36,17 @@ ignore = {
|
||||
"213",
|
||||
"631"
|
||||
}
|
||||
|
||||
-- Telling the linter to ignore Busted framework related keywords within the spec dir
|
||||
['spec/'] = {
|
||||
-- It inherits the global rules and adds these new ones.
|
||||
read_globals = {
|
||||
'describe',
|
||||
'it',
|
||||
'assert', -- Busted extends the standard assert library.
|
||||
'before_each', -- Adding other common Busted globals for future use.
|
||||
'after_each',
|
||||
'setup',
|
||||
'teardown'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user