mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-16 09:40:24 +00:00
fix(convert-formula.sh): remove rubocop
override post-conversion
This commit is contained in:
parent
06ec949fd1
commit
aca4e44289
2 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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`' \
|
||||
|
|
Loading…
Add table
Reference in a new issue