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

Multiple spelling errors in scopes #1034

Open
LuniZunie opened this issue Jun 21, 2024 · 0 comments
Open

Multiple spelling errors in scopes #1034

LuniZunie opened this issue Jun 21, 2024 · 0 comments

Comments

@LuniZunie
Copy link

Both the scopes meta.paramter.array-binding-pattern.js and meta.objectliteral.js seem to have a spelling error.

Code

/* Spelling issue 1 */
function func([ a, b ]) { } // [ a, b ] scope is meta.paramter (missing an e)
function func({ a, b }) { } // { a, b } scope is meta.parameter

/* Spelling issue 2 */
const obj = { "key": 0 } // { key: 0 } scope is meta.objectliteral, while scope for "key" is meta.object-literal.key

Screenshots

Issue 1
image

Issue 2
image
image

Notes

There are a few more missing dashes in words that shouldn't be compound, however they aren't as important as there is no consistency issue with those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant