Skip to content

Use const instead of var when outputting es6 descriptor #667

@atrauzzi

Description

@atrauzzi

I've got this in my descriptor/metadata:

var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $protobuf.Root()))

Which makes my default-configured linter a little sad. Maybe it's worth switching to const or failing that let?

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