If using IntelliJ Idea, in the `.idea` folder you can add `codeStyleSettings.xml` which can have all the rules that Robolectric style uses. It would make autoformat to fix this things. Also you can add a `profiles_settings.xml` and a `CustomInspections.xml` inside the `.idea/inspectionProfiles` dir to add inspections for robolectric. Some inspections are style oriented, for example having the constants in the right side of a comparison, or variables' names should start with lowercase and constants' names should be all capital. Things like that.