From c589289e3ff979c1d42c9f8f3cef4c989074408e Mon Sep 17 00:00:00 2001 From: Sasial <44125644+sasial-dev@users.noreply.github.com> Date: Tue, 9 Jan 2024 10:20:10 +1000 Subject: [PATCH] Clean Up Header Comments --- zap/src/output/luau/mod.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/zap/src/output/luau/mod.rs b/zap/src/output/luau/mod.rs index eb4baff1..2a4633c1 100644 --- a/zap/src/output/luau/mod.rs +++ b/zap/src/output/luau/mod.rs @@ -182,11 +182,9 @@ pub trait Output { fn push_file_header(&mut self, scope: &str) { self.push_line("--!native"); self.push_line("--!optimize 2"); - self.push_line("--!nolint FunctionUnused"); - self.push_line("--!nolint LocalUnused"); - self.push_line("--!nolint LocalShadow"); - self.push_line("--#selene: allow(unused_variable)"); - self.push_line("--#selene: allow(shadowing)"); + self.push_line("--!nocheck"); + self.push_line("--!nolint"); + self.push_line("--#selene: allow(unused_variable, shadowing, incorrect_standard_library_use)"); self.push_line(&format!( "-- {scope} generated by Zap v{} (https://github.com/red-blox/zap)",