docs: @SuppressWarnings("unchecked")
    private Set<String> extractIgnorePatterns(Map<String, Object> configuration) {
      List<String> patterns = asList("glob:.*",// hidden files
          "glob:*~", "glob:#*#", "glob:.#*", // emacs
          "glob:*~", "glob:[._]*.s[a-w][a-z]", "glob:[._]s[a-w][a-z]", "glob:*.un~" // vim
      );
      Set<String> s = new HashSet<>((List<String>) configuration.getOrDefault("ignore-patterns",patterns));
      s.addAll(patterns);
      return unmodifiableSet(s);
    }