Skip to content

[naming-convention] modifier global - Allow selecting only global variables #2318

Closed
@glen-84

Description

@glen-84

Similar to #2239.

I'd like to be able to do something similar to this, i.e.:

// require all global constants to be camelCase or UPPER_CASE
// all other variables and functions still need to be camelCase
{"selector": "variable", "modifiers": ["global", "const"], "format": ["camelCase", "UPPER_CASE"]}

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