Open
Description
What about all const variables? - This is unnecessary, so uppercasing should not be used for constants within a file. It should be used for exported constants however.
There are two points:
- Based on the above description the provided example appears incorrect
- Also, Since const variables can't be changed through reassignment, this example (i.e., variable name) feels odd.
Current example:
// bad
export const THING_TO_BE_CHANGED = 'should obviously not be uppercased';
Perhaps it could be:
// bad
export const some_exported_constant = 'should obviously be uppercased';
Metadata
Metadata
Assignees
Labels
No labels