21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-27 22:40:49 +02:00

Better rubocop configuration

This commit is contained in:
Colin Darie 2018-05-23 15:56:43 +02:00
parent b52c8e2c5e
commit f2891c2d6a
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
6 changed files with 11 additions and 11 deletions

View file

@ -1,9 +1,9 @@
AllCops:
TargetRubyVersion: 2.5
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'node_modules/**/*'
- 'vendor/**/*'
- '.git/**/*'
- 'lib/tasks/auto_annotate_models.rake'
- 'db/**/*'
- 'config/**/*'

View file

@ -47,7 +47,7 @@ group :development do
gem 'spring-watcher-listen', '~> 2.0.0'
gem 'capistrano-rails'
gem 'rubocop', '~> 0.56'
gem 'rubocop', '~> 0.56.0', require: false
end
group :test do

View file

@ -241,7 +241,7 @@ DEPENDENCIES
puma (~> 3.11)
rails (~> 5.2.0)
rails-i18n (~> 5.1)
rubocop (~> 0.56)
rubocop (~> 0.56.0)
sass-rails (~> 5.0)
selenium-webdriver
spring

View file

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

View file

@ -1,4 +1,4 @@
require 'test_helper'
require "test_helper"
class PagesControllerTest < ActionDispatch::IntegrationTest
test "home loads without error" do

View file

@ -1,6 +1,6 @@
ENV['RAILS_ENV'] ||= 'test'
require_relative '../config/environment'
require 'rails/test_help'
ENV["RAILS_ENV"] ||= "test"
require_relative "../config/environment"
require "rails/test_help"
class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.