Sha256: 97a47c84111ec1f594d2f245b15aafd4c877f1f8d9d7cb762cdc7273a68b3f9d
Contents?: true
Size: 526 Bytes
Versions: 9
Compression:
Stored size: 526 Bytes
Contents
require "rails/generators" module ReactOnRails module Generators class JsLintersGenerator < Rails::Generators::Base hide! source_root File.expand_path("../templates", __FILE__) # NOTE: linter modules are included via template in base/base/client/package.json.tt def copy_js_linter_config_files base_path = "js_linters/" %w(client/.eslintrc client/.eslintignore client/.jscsrc).each { |file| copy_file(base_path + file, file) } end end end end
Version data entries
9 entries across 9 versions & 1 rubygems