Skip to content

Commit

Permalink
ruby: add "standard" gem and configuration of rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangkaizhao committed Jul 4, 2022
1 parent 6050186 commit 5661029
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ruby/rubocop/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://docs.rubocop.org/rubocop/1.29/configuration.html

Bundler/OrderedGems:
Enabled: false

Layout/ArgumentAlightment:
Enabled: false

Layout/SpaceInsideHashLiteralBraces:
Enabled: false

Style/StringLiterals:
Enabled: false
10 changes: 10 additions & 0 deletions ruby/ruby-gems.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,13 @@ Install with `gem install [options] GEMNAME`. See `gem help install`.
install:

gem install rubocop

* standard

description: Ruby Style Guide, with linter & automatic code fixer

repository: https://github.com/testdouble/standard

install:

gem install standard

0 comments on commit 5661029

Please sign in to comment.