Skip to content

Commit

Permalink
Clean Up Header Comments (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasial-dev authored Jan 9, 2024
1 parent b8b1baa commit bcbee10
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions zap/src/output/luau/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down

0 comments on commit bcbee10

Please sign in to comment.