Fixes https://github.com/chatwoot/chatwoot/issues/8436 Fixes https://github.com/chatwoot/chatwoot/issues/9767 Fixes https://github.com/chatwoot/chatwoot/issues/10156 Fixes https://github.com/chatwoot/chatwoot/issues/6031 Fixes https://github.com/chatwoot/chatwoot/issues/5696 Fixes https://github.com/chatwoot/chatwoot/issues/9250 Fixes https://github.com/chatwoot/chatwoot/issues/9762 --------- Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
12 lines
342 B
Plaintext
Executable File
12 lines
342 B
Plaintext
Executable File
# #!/bin/sh
|
|
# . "$(dirname "$0")/_/husky.sh"
|
|
|
|
# # lint js and vue files
|
|
# npx --no-install lint-staged
|
|
|
|
# # lint only staged ruby files
|
|
# git diff --name-only --cached | xargs ls -1 2>/dev/null | grep '\.rb$' | xargs bundle exec rubocop --force-exclusion -a
|
|
|
|
# # stage rubocop changes to files
|
|
# git diff --name-only --cached | xargs git add
|