Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An abstraction via a script should work, right? They document that it pipes the JSON data to your command's stdin,

  ```lint-monorepo.sh

  # read that data
  json_input=$(cat)

  # do some parsing here with jq, get the file path (file_path)

  if [$file_path" == "$dir1"*]
    run lint_for_dir1
  ```


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: