UnchangedLetVariableCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Configuration()); }  @Override String eslintKey(); @Override List<Object> configurations();  }
@Test public void test() { String json = new Gson().toJson(new UnchangedLetVariableCheck().configurations()); assertThat(json).isEqualTo("[{\"destructuring\":\"all\"}]"); }