CyclomaticComplexityJavaScriptCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(threshold); }  @Override List<Object> configurations(); @Override String eslintKey();  }
@Test public void configurations() { CyclomaticComplexityJavaScriptCheck check = new CyclomaticComplexityJavaScriptCheck(); assertThat(check.configurations()).containsExactly(10); check.threshold = 15; assertThat(check.configurations()).containsExactly(15); }