Customized rules for indents and spelling


I need to develop a plugin for python code check. Can someone help with the below rules in Java?

  1. no more than 3 indents.
    For example,
    if condition1:
    __if condition2:
    ____if condition3:
    ______if condition4:
    Above is acceptable (3 indents) but no more

  2. camel spelling
    For example, change one_sample_variable_name to oneSampleVariableName



There are a number of naming convention rules that already address your second case.

For the first case, the docs should get you started. Feel free to open new threads for specific development questions.