mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 06:26:39 +00:00
Update various dotfiles
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
---
|
||||
BUNDLE_BUILD__NOKOGIRI: --use-system-libraries
|
||||
BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
|
||||
BUNDLE_GEM__COC: 'false'
|
||||
BUNDLE_GEM__MIT: 'false'
|
||||
BUNDLE_GEM__TEST: rspec
|
||||
|
||||
1
irbrc
1
irbrc
@@ -1,3 +1,4 @@
|
||||
require 'irb/completion'
|
||||
require 'irb/ext/save-history'
|
||||
IRB.conf[:SAVE_HISTORY] = 1000
|
||||
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"
|
||||
|
||||
21
rubocop.yml
21
rubocop.yml
@@ -1,5 +1,5 @@
|
||||
AllCops:
|
||||
RunRailsCops: true
|
||||
Rails:
|
||||
Enabled: true
|
||||
|
||||
Documentation:
|
||||
Enabled: false
|
||||
@@ -7,7 +7,7 @@ Documentation:
|
||||
Style/AlignParameters:
|
||||
EnforcedStyle: with_fixed_indentation
|
||||
|
||||
Style/ClassLength:
|
||||
Metrics/ClassLength:
|
||||
CountComments: false
|
||||
Max: 200
|
||||
|
||||
@@ -18,7 +18,10 @@ Style/CollectionMethods:
|
||||
Style/EachWithObject:
|
||||
Enabled: false
|
||||
|
||||
Style/EmptyLinesAroundBody:
|
||||
Style/EmptyLinesAroundBlockBody:
|
||||
Enabled: false
|
||||
|
||||
Style/EmptyLinesAroundClassBody:
|
||||
Enabled: false
|
||||
|
||||
Style/EmptyLineBetweenDefs:
|
||||
@@ -33,14 +36,14 @@ Style/HashSyntax:
|
||||
Style/IndentHash:
|
||||
EnforcedStyle: consistent
|
||||
|
||||
Style/LineLength:
|
||||
Metrics/LineLength:
|
||||
Max: 80
|
||||
AllowURI: true
|
||||
|
||||
Style/IfUnlessModifier:
|
||||
MaxLineLength: 80
|
||||
|
||||
Style/MethodLength:
|
||||
Metrics/MethodLength:
|
||||
CountComments: false
|
||||
Max: 20
|
||||
|
||||
@@ -52,3 +55,9 @@ Style/StringLiterals:
|
||||
|
||||
Style/WhileUntilModifier:
|
||||
MaxLineLength: 80
|
||||
|
||||
Style/LineEndConcatenation:
|
||||
Enabled: false
|
||||
|
||||
Style/WordArray:
|
||||
Enabled: false
|
||||
|
||||
@@ -39,7 +39,10 @@ elif [ -s "$HOME/.rvm/scripts/rvm" ]; then
|
||||
source "$HOME/.rvm/scripts/rvm"
|
||||
fi
|
||||
|
||||
# lunchy auto-completion
|
||||
LUNCHY_DIR="$(dirname `gem which lunchy`)/../extras"
|
||||
if [ -f "$LUNCHY_DIR/lunchy-completion.bash" ]; then
|
||||
if [ -n "$BASH_VERSION" ] && [ -f "$LUNCHY_DIR/lunchy-completion.bash" ]; then
|
||||
source "$LUNCHY_DIR/lunchy-completion.bash"
|
||||
elif [ -n "$ZSH_VERSION" ] && [ -f "$LUNCHY_DIR/lunchy-completion.zsh" ]; then
|
||||
source "$LUNCHY_DIR/lunchy-completion.zsh"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user