@Test public void config() { String configAsString = new Gson().toJson(new NoMagicNumbersCheck().configurations()); assertThat(configAsString).isEqualTo("[{\"ignore\":[0,1,-1]}]"); }
@Override public List<Object> configurations() { return Collections.singletonList(new Config()); }
NoMagicNumbersCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); } }
NoMagicNumbersCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); }  }
NoMagicNumbersCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); }  @Override List<Object> configurations(); @Override String eslintKey(); }
NoMagicNumbersCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); }  @Override List<Object> configurations(); @Override String eslintKey();  }