Chore: Upgrade prettier to v3 (#71764)

* Update dependency prettier to v3 (#71586)

* Update dependency prettier to v3

* run prettier

* ignore prettier update in legacy select scss

* update command line arg

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* unplug prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
Ashley Harrison
2023-07-17 15:58:22 +01:00
committed by GitHub
parent 8320b18b71
commit 9852b24d61
93 changed files with 575 additions and 380 deletions

View File

@@ -100,7 +100,7 @@ describe('getValidIntervals', () => {
getTimeSrv: () =>
({
getValidIntervals: (intervals: string[]) => intervals,
} as unknown as TimeSrv),
}) as unknown as TimeSrv,
};
const result = getValidIntervals(emptyIntervals, dependencies);
@@ -116,7 +116,7 @@ describe('getValidIntervals', () => {
getTimeSrv: () =>
({
getValidIntervals: (intervals: string[]) => intervals,
} as unknown as TimeSrv),
}) as unknown as TimeSrv,
};
const result = getValidIntervals(duplicateIntervals, dependencies);
@@ -132,7 +132,7 @@ describe('getValidIntervals', () => {
getTimeSrv: () =>
({
getValidIntervals: (intervals: string[]) => intervals,
} as unknown as TimeSrv),
}) as unknown as TimeSrv,
};
const result = getValidIntervals(duplicateIntervals, dependencies);
@@ -149,7 +149,7 @@ describe('validateIntervals', () => {
getTimeSrv: () =>
({
getValidIntervals: (intervals: string[]) => intervals,
} as unknown as TimeSrv),
}) as unknown as TimeSrv,
};
const result = validateIntervals(defaultIntervals, dependencies);
@@ -166,7 +166,7 @@ describe('validateIntervals', () => {
getValidIntervals: () => {
throw new Error('Some error');
},
} as unknown as TimeSrv),
}) as unknown as TimeSrv,
};
const result = validateIntervals(defaultIntervals, dependencies);