Skip to content

VDirectiveKey: parsing arguments changes argument into lowercase letters. #12

Closed
@armano2

Description

@armano2

In all VDirectiveKey argument is lowercased.
required for: vuejs/eslint-plugin-vue#95

Tested on version: 2.0.0-beta.2

Input

<template>
    <div v-bind:FooBar=""></div>
</template>

Output

...
{
    "type": "VDirectiveKey",
    "range": [
        21,
        34
    ],
    "loc": {
        "start": {
            "line": 2,
            "column": 9
        },
        "end": {
            "line": 2,
            "column": 22
        }
    },
    "name": "bind",
    "argument": "foobar",
    "modifiers": [],
    "shorthand": false
}
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions