Related Linear issue here. This diff ensures developers install ShellCheck into their dev environments so that it can run with lint-staged on to-be-committed *.sh files.
D4772 adds the rule to lint all to-be-committed *.sh files.
Differential D4771 Authored by • abosh on Aug 8 2022, 9:32 AM.
Tags None Referenced Files
Details Summary Related Linear issue here. This diff ensures developers install ShellCheck into their dev environments so that it can run with lint-staged on to-be-committed *.sh files. D4772 adds the rule to lint all to-be-committed *.sh files. Test Plan Tested brew install shellcheck && brew upgrade shellcheck locally on Apple silicon Macbook. On Apple silicon, running which shellcheck should point to /opt/homebrew/bin/shellcheck. Additionally, created a commit with a problematic *.sh file (after incorporating the changes in D4772) and lint-staged/shellcheck caught the error.
Diff Detail
Event TimelineHerald added subscribers: • adrian, tomek. · View Herald TranscriptAug 8 2022, 9:32 AM2022-08-08 09:32:34 (UTC-7) • abosh edited the test plan for this revision. (Show Details)Aug 8 2022, 9:34 AM2022-08-08 09:34:12 (UTC-7) • abosh edited the summary of this revision. (Show Details)Aug 8 2022, 9:44 AM2022-08-08 09:44:08 (UTC-7) Harbormaster completed remote builds in B11213: Diff 15425.Aug 8 2022, 9:45 AM2022-08-08 09:45:06 (UTC-7) • abosh edited the test plan for this revision. (Show Details)Aug 8 2022, 9:54 AM2022-08-08 09:54:04 (UTC-7) This revision now requires changes to proceed.Aug 8 2022, 10:49 AM2022-08-08 10:49:48 (UTC-7) Comment Actions Sure, that makes sense. Moved ShellCheck instructions up to the top of the Prerequisites section under Rust and above Yarn (to keep it "alphabetized"?). It's such a small command I doubt it should be an issue, but open to thoughts about where to place it in the doc. Harbormaster failed remote builds in B11215: Diff 15427!Aug 8 2022, 11:05 AM2022-08-08 11:05:28 (UTC-7) Harbormaster completed remote builds in B11215: Diff 15427.Aug 8 2022, 11:55 AM2022-08-08 11:55:37 (UTC-7) This revision is now accepted and ready to land.Aug 8 2022, 5:49 PM2022-08-08 17:49:07 (UTC-7) Closed by commit rCOMMa6578e42469c: [docs] Add ShellCheck installation instructions (authored by • abosh). · Explain WhyAug 9 2022, 8:51 AM2022-08-09 08:51:32 (UTC-7) This revision was automatically updated to reflect the committed changes.
Diff 15471 docs/dev_environment.md
|