mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Update prettier to v2.0.1 and enable for SCSS (#420)
This commit is contained in:
@@ -48,7 +48,7 @@ export const SettingsConfigurationPanel: React.FC = () => {
|
||||
logLevel,
|
||||
logAccess,
|
||||
excludes,
|
||||
scraperUserAgent
|
||||
scraperUserAgent,
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
@@ -116,7 +116,7 @@ export const SettingsConfigurationPanel: React.FC = () => {
|
||||
GQL.StreamingResolutionEnum.StandardHd,
|
||||
GQL.StreamingResolutionEnum.FullHd,
|
||||
GQL.StreamingResolutionEnum.FourK,
|
||||
GQL.StreamingResolutionEnum.Original
|
||||
GQL.StreamingResolutionEnum.Original,
|
||||
].map(resolutionToString);
|
||||
|
||||
function resolutionToString(r: GQL.StreamingResolutionEnum | undefined) {
|
||||
@@ -258,7 +258,7 @@ export const SettingsConfigurationPanel: React.FC = () => {
|
||||
}
|
||||
value={resolutionToString(maxTranscodeSize)}
|
||||
>
|
||||
{transcodeQualities.map(q => (
|
||||
{transcodeQualities.map((q) => (
|
||||
<option key={q} value={q}>
|
||||
{q}
|
||||
</option>
|
||||
@@ -280,7 +280,7 @@ export const SettingsConfigurationPanel: React.FC = () => {
|
||||
}
|
||||
value={resolutionToString(maxStreamingTranscodeSize)}
|
||||
>
|
||||
{transcodeQualities.map(q => (
|
||||
{transcodeQualities.map((q) => (
|
||||
<option key={q} value={q}>
|
||||
{q}
|
||||
</option>
|
||||
@@ -382,7 +382,7 @@ export const SettingsConfigurationPanel: React.FC = () => {
|
||||
}
|
||||
value={logLevel}
|
||||
>
|
||||
{["Debug", "Info", "Warning", "Error"].map(o => (
|
||||
{["Debug", "Info", "Warning", "Error"].map((o) => (
|
||||
<option key={o} value={o}>
|
||||
{o}
|
||||
</option>
|
||||
|
||||
Reference in New Issue
Block a user