Abin Simon
ce422f0b1d
Add linter for checking with empty string (#4246)
Finding failing cases:
``` bash
tree-grepper -q go '((binary_expression (identifier) ["==" "!="] (interpreted_string_literal) @ri) (#eq? @ri "\"\""))'
```
Fixing failing cases:
``` bash
comby 'if :[1~[^ ]*] == ""' 'if len(:[1]) == 0' -matcher .go -in-place
comby 'if :[1~[^ ]*] != ""' 'if len(:[1]) > 0' -matcher .go -in-place
```
<!-- PR description-->
---
#### Does this PR need a docs update or release note?
- [ ] ✅ Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x] ⛔ No
#### Type of change
<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [ ] 💻 CI/Deployment
- [x] 🧹 Tech Debt/Cleanup
#### Issue(s)
<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* closes https://github.com/alcionai/corso/issues/3654
#### Test Plan
<!-- How will this be tested prior to merging.-->
- [ ] 💪 Manual
- [ ] ⚡ Unit test
- [ ] 💚 E2E
2023-09-15 06:45:00 +00:00
..
2023-09-15 06:45:00 +00:00
2023-09-15 06:45:00 +00:00
2023-09-14 06:54:39 +00:00
2023-08-22 07:58:03 +00:00
2023-09-14 08:49:34 +00:00
2023-09-14 06:54:39 +00:00
2023-08-18 22:45:21 +00:00
2023-09-14 09:29:01 +00:00
2023-09-15 03:20:46 +00:00
2023-09-14 08:49:34 +00:00
2023-09-14 08:49:34 +00:00
2023-09-12 22:35:03 +00:00
2023-09-12 22:05:23 +00:00
2023-09-07 18:30:46 +00:00
2023-09-14 08:49:34 +00:00