Sha256: adcaf63ab81feea4bdee477b3c7bd8035ef1417663b9ae986feb01a3bde56a26

Contents?: true

Size: 950 Bytes

Versions: 3

Compression:

Stored size: 950 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",
          ".eslint-rules/helpers/index.js",
          ".eslint-rules/imports/enforced.js",
          ".eslint-rules/imports/order.js",
          ".eslint-rules/globals.js",
          ".eslint-rules/overrides.js",
          ".eslint-rules/promise.js",
          ".eslint-rules/react.js",
          # ".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

3 entries across 3 versions & 1 rubygems

Version Path
neetob-0.1.2 neeto_compliance/lib/neeto_compliance/sync_neeto_commons/sync_formatters.rb
neetob-0.1.1 /Users/chiragshah/Workspace/bigbinary/neeto/neetob/neeto_compliance/lib/neeto_compliance/sync_neeto_commons/sync_formatters.rb
neetob-0.1.0 /Users/chiragshah/Workspace/bigbinary/neeto/neetob/neeto_compliance/lib/neeto_compliance/sync_neeto_commons/sync_formatters.rb