fix(convert-formula.sh): remove rubocop override post-conversion

This commit is contained in:
Dafydd Jones 2019-12-19 12:12:48 +00:00
parent 06ec949fd1
commit aca4e44289
2 changed files with 3 additions and 0 deletions

View file

@ -8,5 +8,7 @@ Metrics/LineLength:
Max: 88
# Any offenses that should be fixed, e.g. collected via. `rubocop --auto-gen-config`
# <REMOVEME
Metrics/BlockLength:
Max: 36
# REMOVEME>

View file

@ -47,6 +47,7 @@ convert_formula() {
# See https://vim.fandom.com/wiki/Search_across_multiple_lines
ex -u NONE -sc '%s/^.. <REMOVEME\_.\{-}.. REMOVEME>/None/g|x' docs/README.rst
ex -u NONE -sc '%s/^\s*# <REMOVEME\_.\{-}# REMOVEME>\n//g|x' .travis.yml
ex -u NONE -sc '%s/^\s*# <REMOVEME\_.\{-}# REMOVEME>\n//g|x' .rubocop.yml
# shellcheck disable=SC2016 # Expressions don't expand in single quotes
git commit --quiet --all \
--message 'feat: convert `template-formula` to `'"${NEW_NAME}"'-formula`' \