-
Notifications
You must be signed in to change notification settings - Fork 1k
fix(analyzer): jsdoc type order, lowercase tags, css syntax #4132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
justinfagnani
merged 13 commits into
lit:main
from
bennypowers:fix/analyzer/jsdoc-type-order
Aug 23, 2023
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
ad0c8fc
test(analyzer): well-formed jsdoc types
bennypowers 68d27c4
test(analyzer): lowercase cssProperties, cssParts
bennypowers 609b1c6
feat(analyzer): css syntax
bennypowers 7597b5d
test(analyzer): cssprop syntax
bennypowers 13f1f5d
test(analyzer): fixtures and counts
bennypowers 4ebaae8
fix(analyzer): lowercase cssproperty, cssprop, csspart
bennypowers c7382bd
test(analyzer): css syntax
bennypowers 2bec2e3
feat(analyzer): css property syntax
bennypowers 615144b
fix(analyzer): well-formed event jsdoc
bennypowers f187c55
perf(analyzer): charAt instead of startsWith
bennypowers 3e8c8b2
docs: changesets
bennypowers f215dd0
refactor(analyzer): reduce number of parse paths
bennypowers fc277af
fix(analyzer): parse regexps
bennypowers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@lit-labs/analyzer': patch | ||
| --- | ||
|
|
||
| Supports `@fires {EventType} name`, with type preceding name |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@lit-labs/analyzer': patch | ||
| --- | ||
|
|
||
| Supports lowercase `@cssprop`, `@cssproperty`, and `@csspart` |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@lit-labs/analyzer': patch | ||
| --- | ||
|
|
||
| Supports `@cssProperty {<color>} --my-color` with syntax metadata |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really care about the cases like this, or can we lowercase the tag before hitting the switch statement to get a case-insensitive comparison?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i initially lowercased the tag, but like ...
@cSsPRop...