Skip to content

Commit

Permalink
Merge ruby file
Browse files Browse the repository at this point in the history
  • Loading branch information
cguess committed May 20, 2020
2 parents 1e3c6b8 + 8aa2219 commit 6ffbfda
Show file tree
Hide file tree
Showing 143 changed files with 32,016 additions and 4,085 deletions.
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults
Binary file modified .docker/.DS_Store
Binary file not shown.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,10 @@ data/dump.rdb
# Because macOS
.DS_Store
>>>>>>> eb10494aa57787440b8395433b5ca965da570fea

/public/packs
/public/packs-test
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity
80 changes: 80 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# inherit_from: .rubocop_todo.yml

inherit_gem:
rubocop-rails_config:
- config/rails.yml

AllCops:
Exclude:
- db/schema.rb
- 'node_modules/**/*'
- 'redis-stable/**/*'
- 'bin/**/*'
- 'vendor/**/*'
- 'cookbooks/**/*'
- 'tmp/**/*'
- 'log/**/*'
TargetRubyVersion: 2.5

# Join tables don't really need timestamps
Rails/CreateTableWithTimestamps:
Exclude:

# Rails generates this file
Style/BlockComments:
Exclude:
- 'db/seeds.rb'

# This sets us to use the standard Rails format instead of Rubocop's
# opinionated Ruby style.
Style/FrozenStringLiteralComment:
Enabled: false

# This sets us to use the standard Rails format instead of Rubocop's
# opinionated Ruby style.
Style/ClassAndModuleChildren:
Enabled: false

# Rails generates this file
Layout/IndentationStyle:
Exclude:
- 'db/seeds.rb'

# Temporarily turn this off
Metrics/AbcSize:
Enabled: false

Metrics/ClassLength:
Enabled: false

Lint/RescueException:
Enabled: false

Lint/Debugger:
Enabled: true

Rails/HasManyOrHasOneDependent:
Enabled: false

Rails/HasAndBelongsToMany:
Enabled: false

Style/NumericPredicate:
Enabled: false

# This sets us to use the standard Rails format instead of Rubocop's
# opinionated Ruby style.
Layout/EmptyLinesAroundAccessModifier:
Enabled: true
EnforcedStyle: 'around'

Naming/MethodName:
Exclude:
- 'app/serializers/participant_serializer.rb'

# Regex sort of sucks
Style/RegexpLiteral:
Exclude:
- 'config/application.rb'
- 'config/initializers/route_downcaser.rb'
Enabled: false
Loading

0 comments on commit 6ffbfda

Please sign in to comment.