RulesCommonavoid-assigning-to-static-fieldOn this pageavoid-assigning-to-static-fieldadded in: 1.22.0warningPro+ Warns when an instance method assigns to a static field. Example ❌ Bad: class Some { static int value = 1; void work() { value = 2; // LINT }} ✅ Good: class Some { static int value = 1; static void work() { value = 2; }}