mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 09:26:42 +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,4 +1,5 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
.bin
|
.bin
|
||||||
.bundle
|
.bundle
|
||||||
.projectile
|
.projectile
|
||||||
|
|||||||
1
irbrc
1
irbrc
@@ -1,3 +1,4 @@
|
|||||||
|
require 'irb/completion'
|
||||||
require 'irb/ext/save-history'
|
require 'irb/ext/save-history'
|
||||||
IRB.conf[:SAVE_HISTORY] = 1000
|
IRB.conf[:SAVE_HISTORY] = 1000
|
||||||
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"
|
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"
|
||||||
|
|||||||
21
rubocop.yml
21
rubocop.yml
@@ -1,5 +1,5 @@
|
|||||||
AllCops:
|
Rails:
|
||||||
RunRailsCops: true
|
Enabled: true
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
@@ -7,7 +7,7 @@ Documentation:
|
|||||||
Style/AlignParameters:
|
Style/AlignParameters:
|
||||||
EnforcedStyle: with_fixed_indentation
|
EnforcedStyle: with_fixed_indentation
|
||||||
|
|
||||||
Style/ClassLength:
|
Metrics/ClassLength:
|
||||||
CountComments: false
|
CountComments: false
|
||||||
Max: 200
|
Max: 200
|
||||||
|
|
||||||
@@ -18,7 +18,10 @@ Style/CollectionMethods:
|
|||||||
Style/EachWithObject:
|
Style/EachWithObject:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Style/EmptyLinesAroundBody:
|
Style/EmptyLinesAroundBlockBody:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
|
Style/EmptyLinesAroundClassBody:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Style/EmptyLineBetweenDefs:
|
Style/EmptyLineBetweenDefs:
|
||||||
@@ -33,14 +36,14 @@ Style/HashSyntax:
|
|||||||
Style/IndentHash:
|
Style/IndentHash:
|
||||||
EnforcedStyle: consistent
|
EnforcedStyle: consistent
|
||||||
|
|
||||||
Style/LineLength:
|
Metrics/LineLength:
|
||||||
Max: 80
|
Max: 80
|
||||||
AllowURI: true
|
AllowURI: true
|
||||||
|
|
||||||
Style/IfUnlessModifier:
|
Style/IfUnlessModifier:
|
||||||
MaxLineLength: 80
|
MaxLineLength: 80
|
||||||
|
|
||||||
Style/MethodLength:
|
Metrics/MethodLength:
|
||||||
CountComments: false
|
CountComments: false
|
||||||
Max: 20
|
Max: 20
|
||||||
|
|
||||||
@@ -52,3 +55,9 @@ Style/StringLiterals:
|
|||||||
|
|
||||||
Style/WhileUntilModifier:
|
Style/WhileUntilModifier:
|
||||||
MaxLineLength: 80
|
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"
|
source "$HOME/.rvm/scripts/rvm"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# lunchy auto-completion
|
||||||
LUNCHY_DIR="$(dirname `gem which lunchy`)/../extras"
|
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"
|
source "$LUNCHY_DIR/lunchy-completion.bash"
|
||||||
|
elif [ -n "$ZSH_VERSION" ] && [ -f "$LUNCHY_DIR/lunchy-completion.zsh" ]; then
|
||||||
|
source "$LUNCHY_DIR/lunchy-completion.zsh"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user