@Test public void configurations() { MaxParameterCheck check = new MaxParameterCheck(); assertThat(check.configurations()).containsExactly(7); check.maximumFunctionParameters = 4; assertThat(check.configurations()).containsExactly(4); }
@Override public List<Object> configurations() { return Collections.singletonList(maximumFunctionParameters); }
MaxParameterCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(maximumFunctionParameters); } }
MaxParameterCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(maximumFunctionParameters); }  }
MaxParameterCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(maximumFunctionParameters); }  @Override List<Object> configurations(); @Override String eslintKey(); }
MaxParameterCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(maximumFunctionParameters); }  @Override List<Object> configurations(); @Override String eslintKey();  }