For #269213
This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks
Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
* Fix for PartialStyleSheet getting stuck in loop
Adds a clause for detecting `//` as a comment marker when working backwards through a file, preventing the parser from getting stuck when the comment starts at 1:1
* Modify change to detect start of file instead of skipping additional `/` characters now that we know the issue only occurs at offset 0.
Co-authored-by: Tyler McEnaney <tharbakim@hotmail.com>
For match tag, update tag, and balance in/out, we now have the following:
- vscode-html-languageservice parse is being used to speed up file parse times
- Balance balance-in after balance-out behaviour is now more consistent
- These commands now work in markup files with unclosed tags
- Implemented a cache for these commands to prevent multiple document parses on the same version of the document
* Enfoce node boundries in places where it matters
* Flip defualt emmet includeBoundries to true
Explicitly set getNode's include boundries where needed
* Remove defualt papameter
* Add update image boundry tests
* Add tests for bondries on some of the tag actions
* Rest of tag tests
* Allow Emmet "Go to matching pair" to work inside script tags
* Refactor template script detection and node extraction.
* Futher refactoring of Emmet template identification logic.
* Emmet: select entire script tag when unable to idnetify an inner element
* Remove redundant nullity check
* Refactor parsePartialStylesheet
* More refactoring
* To avoid errors, parse line comments char by char and no when getting to previous line.
* Revert "To avoid errors, parse line comments char by char and no when getting to previous line."
This reverts commit f353dba4c7.
* Fix for inline comments inside block comments