Taming the linter again the third
This commit is contained in:
+12
@@ -19,10 +19,22 @@ read_globals = {
|
|||||||
"next",
|
"next",
|
||||||
"rawget"
|
"rawget"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
files['spec/'].read_globals = {
|
||||||
|
'describe',
|
||||||
|
'it',
|
||||||
|
'assert', -- Busted extends the standard assert library.
|
||||||
|
'before_each',
|
||||||
|
'after_each',
|
||||||
|
'setup',
|
||||||
|
'teardown'
|
||||||
|
}
|
||||||
|
|
||||||
exclude_files = {
|
exclude_files = {
|
||||||
"lib/",
|
"lib/",
|
||||||
"src/"
|
"src/"
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Ignore specific, non-critical warnings by their numeric code.
|
-- Ignore specific, non-critical warnings by their numeric code.
|
||||||
-- 111: Line is too long
|
-- 111: Line is too long
|
||||||
-- 211: Unused variable
|
-- 211: Unused variable
|
||||||
|
|||||||
Reference in New Issue
Block a user