code: private void setupScanner(Scanner scanner, Resource resource) {
  
          if (resource.getIncludes() == null || resource.getIncludes().isEmpty()) {
              scanner.setIncludes(DEFAULT_FILE_EXTENSIONS);
          } else {
              scanner.setIncludes(resource.getIncludes().toArray(new String[] {}));
          }
  
          if (resource.getExcludes() == null || resource.getExcludes().isEmpty()) {
              scanner.setExcludes(IGNORED_FOLDERS_AND_FILES);
          } else {
              scanner.setExcludes(mergeAndConvert(resource.getExcludes(), IGNORED_FOLDERS_AND_FILES));
          }
          // adds exclusions like SVN or GIT files
          scanner.addDefaultExcludes();
      }
docs: Initializes the Scanner with the default values.
  <br>
  By default:
  <ul>
  <li>includes adds extension .adoc, .ad, .asc and .asciidoc
  <li>excludes adds filters to avoid hidden files and directoris beginning with undersore
  </ul>
  
  NOTE: Patterns both in inclusions and exclusions are automatically excluded.