Skip to content

Commit 95ffe20

Browse files
tnagorrasamshara
authored andcommitted
Fix issue with ifrc-go import directory in stylelint
- Update npmrc to enable pre / post scripts
1 parent 25c415e commit 95ffe20

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
enable-pre-post-scripts=true

app/src/views/CountryNsOverviewActivities/Map/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,6 @@ function CountryThreeWNationalSocietyProjectsMap(props: Props) {
438438
/>
439439
</MapSource>
440440
)}
441-
{ }
442441
{clickedPointProperties?.lngLat
443442
&& isDefined(projectCountryId)
444443
&& (

app/src/views/PerWorkPlanForm/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,6 @@ export function Component() {
410410
spacing="comfortable"
411411
>
412412
<NonFieldError error={componentResponseError} />
413-
{ }
414413
{prioritizationResponse?.prioritized_action_responses?.map((componentResponse) => (
415414
<PrioritizedActionInput
416415
key={componentResponse.component}

app/src/views/SurgeCatalogueHealthInfectionPreventionAndControl/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import SurgeContentContainer from '#components/domain/SurgeContentContainer';
66

77
import i18n from './i18n.json';
88

9+
/** @knipignore */
910
// eslint-disable-next-line import/prefer-default-export
1011
export function Component() {
1112
const strings = useTranslation(i18n);

app/stylelint.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
},
1919
'csstools/value-no-unknown-custom-properties': [
2020
true, {
21-
importFrom: ['./src/index.css', '../node_modules/@ifrc-go/ui/dist/index.css']
21+
importFrom: ['./src/index.css', './node_modules/@ifrc-go/ui/dist/index.css']
2222
},
2323
],
2424
'selector-pseudo-class-no-unknown': [

0 commit comments

Comments
 (0)