diff --git a/.eslintrc b/.eslintrc index 4c0892e95..304b2f6e5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -22,6 +22,7 @@ "prettier/prettier": "error", "testing-library/no-unnecessary-act": "off", "testing-library/prefer-find-by": "off", - "curly": "error" + "curly": "error", + "react/jsx-curly-brace-presence": "error" } } diff --git a/package-lock.json b/package-lock.json index c34f0f0c6..ee00c7b69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21102,9 +21102,9 @@ } }, "node_modules/jose": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/jose/-/jose-5.2.4.tgz", - "integrity": "sha512-6ScbIk2WWCeXkmzF6bRPmEuaqy1m8SbsRFMa/FLrSCkGIhj8OLVG/IH+XHVmNMx/KUo8cVWEE6oKR4dJ+S0Rkg==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/jose/-/jose-5.3.0.tgz", + "integrity": "sha512-IChe9AtAE79ru084ow8jzkN2lNrG3Ntfiv65Cvj9uOCE2m5LNsdHG+9EbxWxAoWRF9TgDOqLN5jm08++owDVRg==", "dev": true, "funding": { "url": "https://github.com/sponsors/panva" diff --git a/src/group/components/GroupList.js b/src/group/components/GroupList.js index d56153a57..39cd62297 100644 --- a/src/group/components/GroupList.js +++ b/src/group/components/GroupList.js @@ -222,7 +222,7 @@ const GroupList = () => { First Prefix - + to add . diff --git a/src/landscape/components/LandscapeForm/AffiliationStep.js b/src/landscape/components/LandscapeForm/AffiliationStep.js index d001366ab..784c4146c 100644 --- a/src/landscape/components/LandscapeForm/AffiliationStep.js +++ b/src/landscape/components/LandscapeForm/AffiliationStep.js @@ -136,7 +136,7 @@ const YearSelect = props => { labelId={`${id}-label`} id={id} > - + {t('landscape.form_profile_partnership_year_placeholder')} {_.range(PARTNERSHIP_START_YEAR, new Date().getFullYear() + 1) diff --git a/src/landscape/components/LandscapeForm/KeyInfoStep.js b/src/landscape/components/LandscapeForm/KeyInfoStep.js index 09c308cc0..d946d5b17 100644 --- a/src/landscape/components/LandscapeForm/KeyInfoStep.js +++ b/src/landscape/components/LandscapeForm/KeyInfoStep.js @@ -123,7 +123,7 @@ const CountrySelector = props => { ) } > - {t('landscape.form_location_select')} + {t('landscape.form_location_select')} {countries.map((country, index) => ( {country.name} diff --git a/src/landscape/components/LandscapeForm/ProfileImageStep.js b/src/landscape/components/LandscapeForm/ProfileImageStep.js index 939383f9a..5c130b9a6 100644 --- a/src/landscape/components/LandscapeForm/ProfileImageStep.js +++ b/src/landscape/components/LandscapeForm/ProfileImageStep.js @@ -213,7 +213,7 @@ const ProfileImageStep = props => { onCancel={() => navigate(-1)} updatedValues={updatedValues} onNext={setUpdatedLandscape} - nextLabel={'landscape.form_save_label'} + nextLabel="landscape.form_save_label" saveDisabled={!updatedValues?.profileImage?.result} /> diff --git a/src/landscape/components/LandscapeList.js b/src/landscape/components/LandscapeList.js index 40e93b809..b44d02155 100644 --- a/src/landscape/components/LandscapeList.js +++ b/src/landscape/components/LandscapeList.js @@ -192,7 +192,7 @@ const LandscapeList = () => { Prefix - + add link or @@ -218,7 +218,7 @@ const LandscapeList = () => { First Prefix - + to add . diff --git a/src/sharedData/visualization/components/VisualizationConfigForm/ColumnSelect.js b/src/sharedData/visualization/components/VisualizationConfigForm/ColumnSelect.js index 9f3fc19d2..17ae69c34 100644 --- a/src/sharedData/visualization/components/VisualizationConfigForm/ColumnSelect.js +++ b/src/sharedData/visualization/components/VisualizationConfigForm/ColumnSelect.js @@ -47,7 +47,7 @@ const ColumnSelect = props => { ) } > - + {t(placeholder)} {options.map((option, index) => (