-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Closed
Copy link
Labels
enhancement: plugin rule optionNew rule option for an existing eslint-plugin ruleNew rule option for an existing eslint-plugin rulegood first issueGood for newcomersGood for newcomerspackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
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"]}
danvk, kaisermann, InsOpDe, phaux and infacto
Metadata
Metadata
Assignees
Labels
enhancement: plugin rule optionNew rule option for an existing eslint-plugin ruleNew rule option for an existing eslint-plugin rulegood first issueGood for newcomersGood for newcomerspackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin