fix(eslint-plugin-svelte): Replace isSpaceBetweenTokens with isSpaceBetween#1516
fix(eslint-plugin-svelte): Replace isSpaceBetweenTokens with isSpaceBetween#1516kevin-easygo wants to merge 1 commit intosveltejs:mainfrom
isSpaceBetweenTokens with isSpaceBetween#1516Conversation
|
| }); | ||
|
|
||
| const noExtraSpace = source.isSpaceBetweenTokens( | ||
| const noExtraSpace = source.isSpaceBetween( |
There was a problem hiding this comment.
Could you please add a test case that confirms this change has resolved the issue?
There was a problem hiding this comment.
Hey there! The method has only been deprecated in ESLint 10, while the repo relies on eslint@~9.39.4.
What's the best way to test this without changing the dependency list?
There was a problem hiding this comment.
CI runs with ESLint v8/v9/v10 versions.
Therefore, I believe we can verify whether the issue has been resolved simply by adding the code you provided in the issue as a test case.
This PR removes usage of
isSpaceBetweenTokenand replaces it withisSpaceBetween, since the former has been deprecated.Solves #1515.