@Test public void test() { String configAsString = new Gson().toJson(new UselessExpressionStatementCheck().configurations()); assertThat(configAsString).isEqualTo("[{\"allowShortCircuit\":true,\"allowTaggedTemplates\":true,\"allowTernary\":true}]"); }
@Override public List<Object> configurations() { return Collections.singletonList(new Config()); }
UselessExpressionStatementCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); } }
UselessExpressionStatementCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); }  }
UselessExpressionStatementCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); }  @Override List<Object> configurations(); @Override String eslintKey(); }
UselessExpressionStatementCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); }  @Override List<Object> configurations(); @Override String eslintKey();  }