NoThisAliasCheck implements EslintBasedCheck { @Override public List<Object> configurations() { return Collections.singletonList(new Config()); }  @Override List<Object> configurations(); @Override String eslintKey();  }
@Test public void configurations() { assertThat(new Gson().toJson(new NoThisAliasCheck().configurations())).isEqualTo("[{\"allowDestructuring\":true}]"); }