NestedControlFlowDepthCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(maximumNestingLevel); }  @Override List<Object> configurations(); @Override String eslintKey(); @RuleProperty(
    key = "maximumNestingLevel",
    description = "Maximum allowed \"if/for/while/switch/try\" statements nesting depth",
    defaultValue = "" + DEFAULT_MAXIMUM_NESTING_LEVEL)
  public int maximumNestingLevel; }
@Test public void testConfig() { NestedControlFlowDepthCheck check = new NestedControlFlowDepthCheck(); assertThat(check.configurations()).containsExactly(3); check.maximumNestingLevel = 42; assertThat(check.configurations()).containsExactly(42); }