no-empty-static-block Disallow empty static and compile-time initialization blocks An uncommented empty static or compile-time block performs no initialization. Instead, you SHOULD remove the block or explain why it is intentionally empty with a comment. - Category: style - Level: warning - Fix: automatic - Scope: module Reported class Registry { static {} value(): int32 { return 1; } } Accepted class Registry { value(): int32 { return 1; } } Prior art - ESLint ยท no-empty-static-block language/linter/src/rules/style/noemptystaticblock.rs:7