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