add shopify rubocop

This commit is contained in:
João Geonizeli
2021-08-03 19:20:33 -03:00
parent d9f90c8172
commit 50f12f49a6
34 changed files with 166 additions and 113 deletions

View File

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module ApplicationCable
class Channel < ActionCable::Channel::Base
end

View File

@@ -1,3 +1,4 @@
# frozen_string_literal: true
module ApplicationCable
class Connection < ActionCable::Connection::Base
end

View File

@@ -1,2 +1,3 @@
# frozen_string_literal: true
class ApplicationController < ActionController::Base
end

View File

@@ -1,2 +1,3 @@
# frozen_string_literal: true
module ApplicationHelper
end

View File

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ApplicationJob < ActiveJob::Base
# Automatically retry jobs that encountered a deadlock
# retry_on ActiveRecord::Deadlocked

View File

@@ -1,4 +1,5 @@
# frozen_string_literal: true
class ApplicationMailer < ActionMailer::Base
default from: 'from@example.com'
layout 'mailer'
default from: "from@example.com"
layout "mailer"
end

View File

@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
end