min_length = ts.number + ts.string / tonumber,
text_multiplier = ts.number,
mime_types = ts.array_of(ts.string),
- scan_archives = ts.bool,
- short_text_direct_hash = ts.bool,
- text_shingles = ts.bool,
- skip_imagess = ts.bool,
+ scan_archives = ts.boolean,
+ short_text_direct_hash = ts.boolean,
+ text_shingles = ts.boolean,
+ skip_imagess = ts.boolean,
}
return false,false
end
+exports.cleanup_rules = function()
+ rules = {}
+end
+
return exports
\ No newline at end of file