Multiple spelling errors in scopes
LuniZunie opened this issue · 0 comments
LuniZunie commented
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
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.