Can anyone please let me know on how to write a XML checkstyle configuration for a project that I have in eclipse? I mean how to write a customized one according to some specific coding rules that we follow? Can anyone please share some idea on this?
I want to know how I can write new customized rules? For example, I want a rule that checks for an if else condition and warns me that I should always prefer ternary operators. Any good resource from Checkstyle that would help me acheive this? Help appreciated.