Patrick Linnane
|
c56669e9cd
|
various: fix miscellaneous typos
|
2023-07-18 08:52:49 -07:00 |
|
Xuehai Pan
|
8f9f18fe59
|
utils/shfmt.sh: allow long shfmt arguments
|
2022-06-18 17:27:56 +08:00 |
|
XuehaiPan
|
50cde98fd3
|
utils/shfmt.sh: allow single line if blocks
|
2021-11-12 19:57:32 +08:00 |
|
XuehaiPan
|
391e7e22f8
|
utils/shfmt.sh: add != and =~ to within test regex
|
2021-11-12 19:57:28 +08:00 |
|
XuehaiPan
|
2345a34095
|
utils/shfmt.sh: rename regex variables
|
2021-11-12 19:29:09 +08:00 |
|
XuehaiPan
|
0331cbeda3
|
utils/shfmt.sh: use utils/shfmt.sh as shell script formmatter
|
2021-11-08 20:57:52 +08:00 |
|
Xuehai Pan
|
2d89e7d24e
|
utils/shfmt.sh: apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
|
2021-10-07 22:16:57 +08:00 |
|
XuehaiPan
|
3113bf7158
|
utils/shfmt.sh: redirect differences to stderr
|
2021-10-07 19:48:53 +08:00 |
|
XuehaiPan
|
735eb78601
|
utils/shfmt.sh: success with auto-fixable changes on brew style --fix
|
2021-10-07 19:43:03 +08:00 |
|
XuehaiPan
|
8edc69e205
|
utils/shfmt.sh: enable coloring only when brewed diffutils is installed
|
2021-09-28 00:21:21 +08:00 |
|
XuehaiPan
|
065c5b79fe
|
utils/shfmt.sh: refactor function align_multiline_if_condition
|
2021-09-16 23:32:53 +08:00 |
|
XuehaiPan
|
d559d3ff46
|
utils/shfmt.sh: reuse similar code fragments
|
2021-09-16 23:16:07 +08:00 |
|
XuehaiPan
|
09a16bcea1
|
utils/shfmt.sh: implement checkers for forbidden styles
|
2021-09-16 00:53:53 +08:00 |
|
XuehaiPan
|
1bb68bda3f
|
utils/shfmt.sh: add function wrap_then_do
|
2021-09-16 00:07:57 +08:00 |
|
XuehaiPan
|
a839d7e5ff
|
utils/shfmt.sh: add function prototypes
|
2021-09-15 22:12:03 +08:00 |
|
XuehaiPan
|
9efde249c1
|
style: add shfmt implementation
|
2021-09-15 22:12:01 +08:00 |
|