mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 08:47:49 +00:00
fixup prettier
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
module.exports = {
|
import importSort from 'prettier-plugin-import-sort';
|
||||||
|
export default {
|
||||||
semi: true,
|
semi: true,
|
||||||
trailingComma: 'all',
|
trailingComma: 'all',
|
||||||
singleQuote: true,
|
singleQuote: true,
|
||||||
printWidth: 120,
|
printWidth: 120,
|
||||||
tabWidth: 2,
|
tabWidth: 2,
|
||||||
endOfLine: 'auto',
|
endOfLine: 'auto',
|
||||||
plugins: [require('prettier-plugin-import-sort')],
|
plugins: [importSort],
|
||||||
};
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { ToastData } from '@decky/api';
|
import type { ToastData } from '@decky/api';
|
||||||
import { joinClassNames } from '@decky/ui';
|
import { joinClassNames } from '@decky/ui';
|
||||||
import { FC, useEffect, useState, ReactElement } from 'react';
|
import { FC, ReactElement, useEffect, useState } from 'react';
|
||||||
|
|
||||||
import { useDeckyToasterState } from './DeckyToasterState';
|
import { useDeckyToasterState } from './DeckyToasterState';
|
||||||
import Toast, { toastClasses } from './Toast';
|
import Toast, { toastClasses } from './Toast';
|
||||||
|
|||||||
Reference in New Issue
Block a user