Pre/Post generate scripts (eg: for Code formatter)

If your project uses code formatters like rubocop or standard. You can define the following snippet for ensuring the EzQL generated code follows your project's rules (this can format only "auto-correctable" code style issues).

scripts:
  # Shell commands will be executed "before" generating.
  # pre:
  
  # Shell commands will be executed "after" generating.
  post: rubocop -a
# You can also use multi line text.
# post: |
#   rubocop -a

Last updated