def find(patterns, excluded_patterns)
      excluded_patterns = excluded_patterns.map { |pattern| normalize_path(pattern) }

      extract_files_from(patterns).reject do |file|
        excluded_patterns.any? do |exclusion_glob|
          HamlLint::Utils.any_glob_matches?(exclusion_glob, file)
        end
      end
    end
def find(patterns, excluded_patterns)
      excluded_patterns = excluded_patterns.map { |pattern| normalize_path(pattern) }

      extract_files_from(patterns).reject do |file|
        excluded_patterns.any? do |exclusion_glob|
          HamlLint::Utils.any_glob_matches?(exclusion_glob, file)
        end
      end
    end
Create a file finder using the specified configuration.

 @param config [HamlLint::Configuration]
 Return list of files to lint given the specified set of paths and glob
 patterns.
 @param patterns [Array<String>]
 @param excluded_patterns [Array<String>]
 @raise [HamlLint::Exceptions::InvalidFilePath]
 @return [Array<String>] list of actual files