Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(lint): eslint --fix react2angular-with-error-boundary
- Loading branch information
1 parent
bd9858d
commit defaf19
Showing
109 changed files
with
576 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
...cripts/modules/amazon/src/securityGroup/configure/securityGroupDetailsCustom.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import { withErrorBoundary } from '@spinnaker/core'; | ||
import { module } from 'angular'; | ||
import { react2angular } from 'react2angular'; | ||
import { SecurityGroupDetailsCustom } from './securityGroupDetailsCustom'; | ||
|
||
export const AWS_SECURITY_GROUP_DETAILS_CUSTOM = 'spinnaker.amazon.securityGroups.details.custom.component'; | ||
module(AWS_SECURITY_GROUP_DETAILS_CUSTOM, []).component( | ||
'securityGroupDetailsCustom', | ||
react2angular(SecurityGroupDetailsCustom, ['securityGroupDetails', 'ctrl', 'scope']), | ||
react2angular(withErrorBoundary(SecurityGroupDetailsCustom, 'securityGroupDetailsCustom'), [ | ||
'securityGroupDetails', | ||
'ctrl', | ||
'scope', | ||
]), | ||
); |
6 changes: 5 additions & 1 deletion
6
app/scripts/modules/amazon/src/securityGroup/details/securityGroupIpRangeRules.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
import { withErrorBoundary } from '@spinnaker/core'; | ||
import { module } from 'angular'; | ||
import { react2angular } from 'react2angular'; | ||
|
||
import { IPRangeRules } from './IPRangeRules'; | ||
|
||
export const AWS_SECURITY_GROUP_IP_RANGE_RULES = 'spinnaker.amazon.securityGroups.details.securityGroups.component'; | ||
module(AWS_SECURITY_GROUP_IP_RANGE_RULES, []).component('ipRangeRules', react2angular(IPRangeRules, ['ipRules'])); | ||
module(AWS_SECURITY_GROUP_IP_RANGE_RULES, []).component( | ||
'ipRangeRules', | ||
react2angular(withErrorBoundary(IPRangeRules, 'ipRangeRules'), ['ipRules']), | ||
); |
6 changes: 5 additions & 1 deletion
6
...dules/amazon/src/serverGroup/details/scalingPolicy/createScalingPolicyButton.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
import { withErrorBoundary } from '@spinnaker/core'; | ||
import { module } from 'angular'; | ||
import { react2angular } from 'react2angular'; | ||
import { CreateScalingPolicyButton } from './CreateScalingPolicyButton'; | ||
|
||
export const CREATE_SCALING_POLICY_BUTTON = 'spinnaker.amazon.serverGroup.details.scaling.policy.button'; | ||
module(CREATE_SCALING_POLICY_BUTTON, []).component( | ||
'createScalingPolicyButton', | ||
react2angular(CreateScalingPolicyButton, ['application', 'serverGroup']), | ||
react2angular(withErrorBoundary(CreateScalingPolicyButton, 'createScalingPolicyButton'), [ | ||
'application', | ||
'serverGroup', | ||
]), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
app/scripts/modules/core/src/application/config/deleteApplicationSection.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { withErrorBoundary } from 'core/presentation/SpinErrorBoundary'; | ||
import { module } from 'angular'; | ||
import { react2angular } from 'react2angular'; | ||
import { DeleteApplicationSection } from './DeleteApplicationSection'; | ||
export const DELETE_APPLICATION_SECTION = 'spinnaker.core.application.config.delete.directive'; | ||
module(DELETE_APPLICATION_SECTION, []).component( | ||
'deleteApplicationSection', | ||
react2angular(DeleteApplicationSection, ['application']), | ||
react2angular(withErrorBoundary(DeleteApplicationSection, 'deleteApplicationSection'), ['application']), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.