-
Notifications
You must be signed in to change notification settings - Fork 4k
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
chore(appconfig): fix some awslint errors, explicitly exempt others #28671
Changes from 3 commits
9677e6b
0d85b3f
40cb836
3bb7425
3cf35c4
323ed09
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,13 +26,77 @@ | |
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.IApplication", | ||
|
||
"no-unused-type:@aws-cdk/aws-appconfig-alpha.PredefinedDeploymentStrategyId", | ||
"ref-via-interface:@aws-cdk/aws-appconfig-alpha.Application.addAgentToEcs.taskDef", | ||
"props-physical-name:@aws-cdk/aws-appconfig-alpha.ApplicationProps", | ||
"props-physical-name:@aws-cdk/aws-appconfig-alpha.DeploymentStrategyProps", | ||
"props-physical-name:@aws-cdk/aws-appconfig-alpha.EnvironmentProps", | ||
"props-physical-name:@aws-cdk/aws-appconfig-alpha.ExtensionProps", | ||
"events-in-interface", | ||
"events-method-signature", | ||
"events-generic" | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.on", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentBaking", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @chenjane-dev nit: i know i told you to add each individual linter exemption, because if not, and we stabilized, then we would be exempting There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't include them at first but then was getting the errors on the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok i'll check this out for you. seems weird if true but i believe you :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. used |
||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentBaking.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentBaking.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentComplete", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentComplete.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentComplete.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentRolledBack", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentRolledBack.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentRolledBack.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentStart", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentStart.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentStart.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentStep", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentStep.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Application.onDeploymentStep.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.on", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentBaking", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentBaking.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentBaking.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentComplete", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentComplete.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentComplete.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentRolledBack", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentRolledBack.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentRolledBack.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentStart", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentStart.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentStart.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentStep", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentStep.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.Environment.onDeploymentStep.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.on", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentBaking", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentBaking.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentBaking.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentComplete", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentComplete.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentComplete.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentRolledBack", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentRolledBack.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentRolledBack.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentStart", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentStart.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentStart.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentStep", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentStep.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.HostedConfiguration.onDeploymentStep.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.on", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentBaking", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentBaking.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentBaking.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentComplete", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentComplete.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentComplete.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentRolledBack", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentRolledBack.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentRolledBack.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentStart", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentStart.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentStart.params[1]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentStep", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentStep.params[0]", | ||
"events-method-signature:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration.onDeploymentStep.params[1]", | ||
"events-generic:@aws-cdk/aws-appconfig-alpha.Application", | ||
"events-generic:@aws-cdk/aws-appconfig-alpha.Environment", | ||
"events-generic:@aws-cdk/aws-appconfig-alpha.HostedConfiguration", | ||
"events-generic:@aws-cdk/aws-appconfig-alpha.SourcedConfiguration" | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this awslint error fixed in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed by adding these methods to the application interface
https://github.com/aws/aws-cdk/pull/28671/files#diff-95c038ca91ae8a09cd48e458bab9f54f352b47fc300fda6502045c1fbf4e26fb