diff --git a/packages/apollo/eslint.config.mjs b/packages/apollo/eslint.config.mjs index 421934ba..770268b9 100644 --- a/packages/apollo/eslint.config.mjs +++ b/packages/apollo/eslint.config.mjs @@ -45,7 +45,6 @@ export default [ }, }, "rules": { - "react/jsx-max-props-per-line": [1, { "maximum": 1 }], "react/jsx-closing-bracket-location": [1, "line-aligned"], "array-bracket-spacing": 0, "space-before-function-paren": 0, @@ -76,9 +75,8 @@ export default [ } ], "max-depth": [1, 8], - "max-len": [1, 200], + "max-len": [1, 300], "max-params": [1, 7], - "new-cap": 1, "no-bitwise": 1, "no-console": "off", "no-multi-spaces": 1, @@ -96,7 +94,6 @@ export default [ "no-var": 1, "object-curly-spacing": [1, "always"], "prefer-const": 0, - "quotes": [1, "single"], "require-atomic-updates": 0, "semi": [0, "always"], "space-before-blocks": 1, diff --git a/packages/apollo/src/components/Access/Access.js b/packages/apollo/src/components/Access/Access.js index a24847b4..00289d46 100644 --- a/packages/apollo/src/components/Access/Access.js +++ b/packages/apollo/src/components/Access/Access.js @@ -784,11 +784,11 @@ export function AuthenticatedUsers(props) { addItems={ props.isManager ? [ - { - text: 'add_new_users', - fn: props.onAdd, - }, - ] + { + text: 'add_new_users', + fn: props.onAdd, + }, + ] : [] } selectItem={ @@ -894,11 +894,11 @@ export function ApiKeys(props) { addItems={ props.isManager ? [ - { - text: 'add_new_apikey', - fn: props.onAdd, - }, - ] + { + text: 'add_new_apikey', + fn: props.onAdd, + }, + ] : [] } selectItem={ diff --git a/packages/apollo/src/components/CADetails/CADetails.js b/packages/apollo/src/components/CADetails/CADetails.js index 5787cff1..cd986905 100644 --- a/packages/apollo/src/components/CADetails/CADetails.js +++ b/packages/apollo/src/components/CADetails/CADetails.js @@ -633,14 +633,14 @@ export class CADetails extends Component { this.props.details.isUpgradeAvailable && this.props.details.location === 'ibm_saas' && ActionsHelper.canCreateComponent(this.props.userInfo, this.props.feature_flags) ? ( -
{translate('channel_orderer_organizations')}
{isChannelUpdate ? translate('update_channel_organization_desc') : translate('create_channel_orderer_org_desc')} @@ -246,7 +246,7 @@ export class OrdererOrganizations extends Component { {ordering_orgs && ordering_orgs.map((org, i) => { return ( -
{translate(this.props.changePassword ? 'change_your_password' : 'product_label_login')} diff --git a/packages/apollo/src/components/PageContainer/PageContainer.js b/packages/apollo/src/components/PageContainer/PageContainer.js index 2ad7a1e6..790bf9aa 100644 --- a/packages/apollo/src/components/PageContainer/PageContainer.js +++ b/packages/apollo/src/components/PageContainer/PageContainer.js @@ -26,12 +26,12 @@ const PageContainer = props => { }; -{/*