-
-
Save ZeroPivot/93b4e254b97ec7b9e683a695baec7e51 to your computer and use it in GitHub Desktop.
Revisions
-
ZeroPivot revised this gist
Sep 30, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ AllCops: TargetRubyVersion: 3.0 NewCops: enable SuggestExtensions: true Include: - 'config.ru' -
dsandstrom revised this gist
Jul 4, 2021 . No changes.There are no files selected for viewing
-
dsandstrom revised this gist
Jul 4, 2021 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,6 @@ # .rubocop.yml # rubocop config files for Ruby 3.0 / Rails 6+ project AllCops: TargetRubyVersion: 3.0 -
dsandstrom revised this gist
Jul 4, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # .rubocop.yml # rubocop config files for Ruby 3.0 / Rails 6+ project # blog post: http://joanswork.com/rubocop-rails-getting-started/ # link broken, all I can find: https://github.com/jehughes -
dsandstrom revised this gist
Jul 4, 2021 . 1 changed file with 11 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,9 @@ # link broken, all I can find: https://github.com/jehughes AllCops: TargetRubyVersion: 3.0 NewCops: enable SuggestExtensions: false Include: - 'config.ru' @@ -41,6 +42,15 @@ Layout/LineLength: Metrics/BlockLength: Exclude: - 'Guardfile' - 'config/environments/*' Metrics/ClassLength: Exclude: - 'db/seeds.rb' Max: 150 Metrics/ModuleLength: Max: 150 Naming/FileName: Exclude: -
dsandstrom revised this gist
Dec 12, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # spec/fabricators/.rubocop.yml inherit_from: - ../../.rubocop.yml -
dsandstrom revised this gist
Dec 12, 2020 . 3 changed files with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # spec/.rubocop.yml inherit_from: - ../.rubocop.yml This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #/spec/fabricators/.rubocop.yml inherit_from: - ../../.rubocop.yml This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # spec/support/.rubocop.yml inherit_from: - ../../.rubocop.yml -
dsandstrom revised this gist
Oct 31, 2020 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -51,9 +51,6 @@ Naming/FileName: Style/Documentation: Enabled: false Style/StringLiterals: Enabled: true EnforcedStyle: single_quotes -
dsandstrom revised this gist
Oct 28, 2020 . 5 changed files with 72 additions and 60 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,59 @@ # .rubocop.yml # rubocop config files for Ruby 2.7 / Rails 6+ project # blog post: http://joanswork.com/rubocop-rails-getting-started/ # link broken, all I can find: https://github.com/jehughes AllCops: TargetRubyVersion: 2.7 NewCops: enable Include: - 'config.ru' - 'Gemfile' - 'Guardfile' - 'Rakefile' - 'app/**/*.rb' - 'config/**/*.rb' - 'lib/**/*.rb' - 'spec/**/*.rb' - 'db/seeds.rb' Exclude: - 'bin/*' - 'db/schema.rb' - 'db/migrate/*' - 'log/**/*' - 'node_modules/**/*' - 'public/**/*' - 'script/**/*' - 'vendor/**/*' - 'tmp/**/*' - '.git/**/*' - 'app/views/**/*' Layout/IndentationConsistency: EnforcedStyle: 'indented_internal_methods' Layout/LineLength: Max: 80 Metrics/BlockLength: Exclude: - 'Guardfile' Naming/FileName: Exclude: - 'Gemfile' - 'Guardfile' - 'Rakefile' Style/Documentation: Enabled: false Style/EmptyMethod: Enabled: false Style/StringLiterals: Enabled: true EnforcedStyle: single_quotes This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,58 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ # ./spec/.rubocop.yml inherit_from: - ../.rubocop.yml StringLiterals: EnforcedStyle: double_quotes Exclude: - './*_helper.rb' # describe block Metrics/BlockLength: Enabled: false This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ # ./spec/fabricators/.rubocop.yml inherit_from: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ # ./spec/support/.rubocop.yml inherit_from: -
dsandstrom revised this gist
Oct 28, 2020 . 3 changed files with 10 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,19 +56,3 @@ StringLiterals: # describe block Metrics/BlockLength: Enabled: false This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ ## # ./spec/fabricators/.rubocop.yml inherit_from: - ../../.rubocop.yml This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ ## # ./spec/support/.rubocop.yml inherit_from: - ../../.rubocop.yml -
dsandstrom revised this gist
Feb 5, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ AllCops: - 'log/**/*' - 'node_modules/**/*' - 'public/**/*' - 'scripts/**/*' - 'vendor/**/*' - 'tmp/**/*' - '.git/**/*' -
dsandstrom revised this gist
Feb 2, 2018 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -59,14 +59,16 @@ Metrics/BlockLength: ## # ./spec/fabricators/.rubocop.yml inherit_from: - ../../.rubocop.yml ## # ./spec/support/.rubocop.yml inherit_from: - ../../.rubocop.yml
-
dsandstrom revised this gist
Feb 2, 2018 . 1 changed file with 10 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Rails: Enabled: true ## # ./spec/.rubocop.yml inherit_from: @@ -51,18 +51,22 @@ inherit_from: StringLiterals: EnforcedStyle: double_quotes Exclude: - './*_helper.rb' # describe block Metrics/BlockLength: Enabled: false ## # ./spec/support/.rubocop.yml inherit_from: - ../../.rubocop.yml ## # ./spec/fabricators/.rubocop.yml inherit_from: - ../../.rubocop.yml
-
dsandstrom revised this gist
Feb 2, 2018 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,22 +22,22 @@ AllCops: - 'tmp/**/*' - '.git/**/*' Documentation: Enabled: false IndentationConsistency: EnforcedStyle: 'rails' Metrics/BlockLength: Exclude: - 'Guardfile' Naming/FileName: Exclude: - 'Gemfile' - 'Guardfile' - 'Rakefile' Rails: Enabled: true -
dsandstrom revised this gist
Feb 2, 2018 . 1 changed file with 17 additions and 23 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,26 +2,25 @@ # .rubocop.yml AllCops: TargetRubyVersion: 2.5 Include: - 'config.ru' - 'Gemfile' - 'Guardfile' - 'Rakefile' Exclude: - 'app/views/**/*' - 'bin/*' - 'db/schema.rb' - 'db/migrate/*' - 'log/**/*' - 'node_modules/**/*' - 'public/**/*' - 'script/**/*' - 'vendor/**/*' - 'tmp/**/*' - '.git/**/*' IndentationConsistency: EnforcedStyle: 'rails' @@ -33,19 +32,14 @@ Naming/FileName: Exclude: - 'Gemfile' - 'Guardfile' - 'Rakefile' Metrics/BlockLength: Exclude: - 'Guardfile' Rails: Enabled: true # -
dsandstrom revised this gist
Jan 31, 2018 . 1 changed file with 42 additions and 49 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,81 +1,74 @@ ## # .rubocop.yml AllCops: TargetRubyVersion: 2.4 Include: - '**/Rakefile' - '**/config.ru' Exclude: - 'db/schema.rb' - 'db/migrate/*' - 'config/**/*' - 'script/**/*' - 'app/views/**/*' - 'vendor/**/*' - 'bin/*' - 'app/helpers/public_helper.rb' - '.git/**/*' - 'tmp/**/*' - 'public/**/*' - 'log/**/*' Rails: Enabled: true IndentationConsistency: EnforcedStyle: 'rails' Documentation: Enabled: false Naming/FileName: Exclude: - 'Gemfile' - 'Guardfile' - 'Capfile' Style/ClassAndModuleChildren: Enabled: false Metrics/ClassLength: Max: 150 Metrics/BlockLength: Max: 50 Naming/VariableNumber: EnforcedStyle: 'snake_case' # # ./spec/.rubocop.yml inherit_from: - ../.rubocop.yml StringLiterals: EnforcedStyle: double_quotes Exclude: - './rails_helper.rb' - './spec_helper.rb' Metrics/BlockLength: Enabled: false Rails/SkipsModelValidations: Enabled: false ## # ./spec/support/.rubocop.yml inherit_from: - ../../.rubocop.yml
-
dsandstrom revised this gist
Nov 17, 2015 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -78,5 +78,4 @@ inherit_from: StringLiterals: EnforcedStyle: single_quotes
-
dsandstrom revised this gist
Nov 17, 2015 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -74,8 +74,9 @@ StringLiterals: # ./spec/factories/.rubocop.yml inherit_from: - ../../.rubocop.yml StringLiterals: EnforcedStyle: single_quotes
-
dsandstrom revised this gist
Nov 16, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,8 +18,8 @@ AllCops: IndentationConsistency: EnforcedStyle: 'rails' Documentation: Enabled: false # SpaceInsideHashLiteralBraces: # EnforcedStyle: no_space -
dsandstrom revised this gist
Nov 16, 2015 . 1 changed file with 16 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,23 +8,28 @@ AllCops: - Rakefile - config.ru Exclude: - 'db/schema.rb' - 'db/**/*' - 'config/**/*' - 'script/**/*' - 'app/views/**/*.html.erb' - !ruby/regexp /old_and_unused\.rb$/ IndentationConsistency: EnforcedStyle: 'rails' # Documentation: # Enabled: false # SpaceInsideHashLiteralBraces: # EnforcedStyle: no_space # MethodLength: # Max: 20 # revisit HasAndBelongsToMany: # being used for a reason Enabled: false # ./db/migrate/.rubocop.yml -
dsandstrom revised this gist
Nov 16, 2015 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,9 +9,6 @@ AllCops: - config.ru Exclude: - db/schema.rb SpaceInsideHashLiteralBraces: EnforcedStyle: no_space @@ -65,7 +62,7 @@ Blocks: Enabled: false StringLiterals: EnforcedStyle: double_quotes -
jehughes revised this gist
Apr 28, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # rubocop config files for small Rails4/Ruby2 project # blog post: http://joanswork.com/rubocop-rails-getting-started/ # .rubocop.yml -
jehughes revised this gist
Apr 28, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,13 +11,13 @@ AllCops: - db/schema.rb LineLength: Max: 179 # revisit SpaceInsideHashLiteralBraces: EnforcedStyle: no_space MethodLength: Max: 20 # revisit HasAndBelongsToMany: # being used for a reason Enabled: false -
jehughes revised this gist
Apr 28, 2014 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ # rubocop config files for small Rails4/Ruby2 project # blog post: http://joanswork.com/ # .rubocop.yml AllCops: -
jehughes renamed this gist
Apr 28, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jehughes created this gist
Apr 28, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,76 @@ # .rubocop.yml AllCops: Include: - Rakefile - config.ru Exclude: - db/schema.rb LineLength: Max: 179 # reduce over time SpaceInsideHashLiteralBraces: EnforcedStyle: no_space MethodLength: Max: 20 # reduce over time HasAndBelongsToMany: # being used for a reason Enabled: false EmptyLinesAroundBody: # prefer empty line for legibility Enabled: false Documentation: # later - part of bigger project Enabled: false # ./db/migrate/.rubocop.yml inherit_from: - ../../.rubocop.yml MethodLength: Max: 200 SingleSpaceBeforeFirstArg: Enabled: false # ./app/controllers/local_devise/.rubocop.yml inherit_from: - ../../../.rubocop.yml ClassAndModuleChildren: Enabled: false AccessorMethodName: Enabled: false # ./spec/.rubocop.yml inherit_from: - ../.rubocop.yml Blocks: Enabled: false StringLiterals: Enabled: false # ./spec/factories/.rubocop.yml inherit_from: - ../.rubocop.yml LineLength: Max: 2048