Skip to content
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

Add twoslash support #47

Merged
merged 35 commits into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5509d57
expand regex
danvk Apr 7, 2022
cddb9b8
some existing tests broken
danvk Apr 7, 2022
24c060c
Tests pass!
danvk Apr 8, 2022
03866e6
drop console logs
danvk Apr 8, 2022
25918a0
re-enable tests
danvk Apr 8, 2022
164c0b3
Fix test; works but is too complex
danvk Apr 8, 2022
3570173
cleanup
danvk Apr 8, 2022
06c4a81
using language service
danvk Apr 9, 2022
0e75d2e
Use a language service
danvk Apr 9, 2022
9ec9652
Move twoslash tests over to a new file
danvk Apr 9, 2022
3c8e9f8
Split out twoslash assertions
danvk Apr 9, 2022
0f8012c
Flag errors on node attachment failure
danvk Apr 9, 2022
3aaab78
Match across multiple lines
danvk Apr 9, 2022
695e755
some cleanup
danvk Apr 9, 2022
ad6d2ed
Attempt to add fixer for twoslash
danvk Apr 9, 2022
9b8f067
Off by 5
danvk Apr 9, 2022
d193c9e
Factor out language service; one failure
danvk Apr 9, 2022
3419f66
Fix test
danvk Apr 9, 2022
9a4719e
re-enable fixer
danvk Apr 9, 2022
699676d
iterating on tests
danvk Apr 9, 2022
ac06c43
trim trailing whitespace
danvk Apr 9, 2022
a6b53a4
Fix bug involving fixer on last line
danvk Apr 10, 2022
02af242
Test for failing to attach a node
danvk Apr 10, 2022
e53bd50
Handle orphan twoslash assertion on first line
danvk Apr 10, 2022
8a76c65
Fill out some more fixer tests
danvk Apr 10, 2022
71e3f6d
Fixer for bare ^?
danvk Apr 11, 2022
9dfaa8c
another test
danvk Apr 11, 2022
9c407cd
Bugfix for trailing space; twoslash test got real slow
danvk Apr 11, 2022
593881d
prettier
danvk Apr 11, 2022
a30fb25
Merge branch 'main' into twoslash
JoshuaKGoldberg Apr 13, 2022
d3fec27
What Josh said (part 1)
danvk Apr 15, 2022
4b07950
What Josh said (part 2)
danvk Apr 15, 2022
6d7b22f
break up the regex
danvk Apr 15, 2022
9d5916a
experiment: factor out parseTwoslashAssertion
danvk Apr 15, 2022
d635ba0
Test for missing space
danvk Apr 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading