Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rename enum-like members to ALL_CAPS #3023

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

shivlaks
Copy link
Contributor

@shivlaks shivlaks commented Jun 24, 2019

Similar to the enum naming convention, public static readonly properties
must be ALL_CAPS.

This is in accordance with the new construct library guidelines.

Fixes #3018
Fixes #980

BREAKING CHANGE: members in enum like classes are now named using ALL_CAPS


Please read the contribution guidelines and follow the pull-request checklist.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license


Similar to the enum naming convention, public static readonly properties
must be ALL_CAPS.

This is in accordance with the new construct library guidelines.

Fixes #3018

BREAKING CHANGE: members in enum like classes are now named using ALL_CAPS
export const publicStaticPropertiesLinter = new Linter(assembly => {
const result = new Array<Property>();
for (const c of assembly.classes) {
// L1 classes are exempted
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

@eladb eladb merged commit 9d19aef into master Jun 24, 2019
@eladb eladb deleted the shivlaks/enum-like-members-all-caps branch June 24, 2019 05:44
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename all enum-like members to all-caps (same as normal enums) Fix capitalization of lambda.Runtime names
3 participants