Closed jattasNI closed 2 years ago
Discussed in our meeting today with @rajsite and @TrevorKarjanis. Consensus was that all of these are repo-specific decisions:
enum
or const
objectsconst
objects, what the capitalization should beSo for now, the styleguide provides a good default and repos should feel free to override those decisions if their APIs require it (as Nimble is now doing). Closing with no action.
@mure, feel free to comment if you disagree with this direction.
In nimble we want to use a pattern from FAST where we use
const
objects instead ofenum
s. But when we create these objects, they violate our naming-convention configuration because we require enums to use PascalCase for their name and items but we require variables and object fields to use camelCase names.Should we:
selector
to say thatexport const
variables can be PascalCase)?