-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
instead of doing string contains search, we can use the coderefs matcher to find flag keys and aliases this ensures that results from the commentor are accurate and consistent with what is reported by official code refs tool and sets us up to enable monorepo support Custom delimiters in `.launchdarkly/coderefs.yaml` will be respected Related changes: - test data needed to use `kebabcase` aliases, since we now use [delimiters](https://github.com/launchdarkly/ld-find-code-refs/blob/ed386199c5f41c224a9e7076a751f031cc38c644/docs/CONFIGURATION.md#delimiters) like code refs - test cases added to cover delimiters Dev notes: There is certainly some future refactoring that can be done in the code refs tool itself to make getting a matcher, etc. more uniform. Tested in gonfalon here: https://github.com/launchdarkly/gonfalon/pull/27962#issuecomment-1629334562
- Loading branch information
Showing
57 changed files
with
10,030 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
aliases: | ||
- type: camelcase | ||
- type: snakecase | ||
- type: kebabcase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.