Skip to content

Commit ebccafc

Browse files
author
Konstantin Gredeskoul
committed
Adding .rubocop.yml to git if it's not there
1 parent 2cf0855 commit ebccafc

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
12
inherit_gem:
23
relaxed-rubocop: .rubocop.yml
4+

bin/post-commit renamed to bin/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
export COLUMNS=90
4+
35
[[ -x bin/deps ]] && source bin/deps
46
[[ -x bin/setup ]] && source bin/setup
57

bin/setup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ lib::gem::install rubocop
2020
inherit_gem:
2121
relaxed-rubocop: .rubocop.yml
2222
" > .rubocop.yml
23+
run "git add .rubocop.yml"
2324
}
2425

2526

0 commit comments

Comments
 (0)