Sha256: a0fd4c98cafed39ff20059e20e751489849ecce814fa0e6e63b975c3a5701677

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 Bytes

Contents

# frozen_string_literal: true

require "neeto_compliance/github_access"
require "neeto_compliance/sync_neeto_commons"

module NeetoCompliance
  class SyncNeetoCommons
    class SyncFormatters
      def self.CONFIG_FILES
        [
          ".eslintrc.js",
          ".eslintignore",
          ".rubocop.yml",
          ".prettierrc.js",
          "cypress-tests/.eslintrc.js",
          ".erb-lint.yml",
        ]
      end

      def self.process
        self.CONFIG_FILES.each do |file|
          print "Copying #{file}...\n"
          system(`cp #{NeetoCompliance::SyncNeetoCommons.neeto_commons_url}#{file} #{file}`)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
neeto-compliance-1.0.58 lib/neeto_compliance/sync_neeto_commons/sync_formatters.rb