From 41f71316901f0b74d202c278d3767835aabb1c09 Mon Sep 17 00:00:00 2001 From: wimo7083 Date: Sun, 16 Sep 2018 22:12:30 -0600 Subject: [PATCH] prevent db/schema.rb from being linted, and revert back to the autogenerated format --- .rubocop.yml | 9 ++++----- db/schema.rb | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 2d8fcf45..514a131f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,9 @@ inherit_from: .rubocop_todo.yml +AllCops: + Exclude: + - 'db/schema.rb' + # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes @@ -11,11 +15,6 @@ Style/StringLiterals: EndOfLine: Enabled: false -# Configuration parameters: CountComments, ExcludedMethods. -Metrics/BlockLength: - Exclude: - - 'db/schema.rb' - Metrics/ClassLength: Exclude: - 'test/models/user_test.rb' diff --git a/db/schema.rb b/db/schema.rb index ae25e3dd..b8fbd982 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,6 +11,7 @@ # It's strongly recommended that you check this file into your version control system. ActiveRecord::Schema.define(version: 20180711212702) do + # These are extensions that must be enabled in order to support this database enable_extension "plpgsql"