outline-server/third_party/shellcheck
Vinicius Fortuna 3034e59f9f Fix lint
2022-03-09 23:10:15 +00:00
..
hashes.sha256 Download a pinned version of Shellcheck 2021-02-18 21:52:28 -05:00
README.md Fix lint 2022-03-09 23:10:15 +00:00
run.sh Fix shellcheck installation on macOS 2021-02-24 14:44:22 -05:00

Outline Shellcheck Wrapper

This directory is used to lint our scripts using Shellcheck. To ensure consistency across developer systems, the included script

  • Attempts to identify the developer's OS (Linux, macOS, or Windows)
  • Downloads a pinned version of Shellcheck into ./download
  • Checks the archive hash
  • Extracts the executable
  • Runs the executable

The executable is cached on the developer's system after the first download. To clear the cache, run rm download (or npm run clean in the repository root).