mirror of
https://github.com/unraid/api.git
synced 2026-01-06 08:39:54 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced enhanced stepper components for smoother multi-step interactions. - Added new loading indicators and improved the loading experience with customizable variants. - **UI Improvements** - Refreshed the global color palette and updated styling across buttons, badges, and loading indicators for a more modern, consistent experience. - Improved the organization and readability of templates and styles across various components. - **Code & Dependency Updates** - Updated key dependencies and revised the theme and configuration settings to improve performance and maintainability. - Introduced new environment variables for better configuration management. - **Legacy Cleanup** - Removed deprecated components and streamlined registrations to simplify the codebase without affecting end-user functionality. - Eliminated unused utility functions and legacy code to enhance overall code quality. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: mdatelle <mike@datelle.net> Co-authored-by: Eli Bosley <ekbosley@gmail.com>
56 lines
1.2 KiB
JavaScript
56 lines
1.2 KiB
JavaScript
/**
|
|
* @see https://prettier.io/docs/en/configuration.html
|
|
* @type {import("prettier").Config}
|
|
*/
|
|
const config = {
|
|
trailingComma: 'es5',
|
|
tabWidth: 2,
|
|
printWidth: 105,
|
|
singleQuote: true,
|
|
plugins: ['prettier-plugin-tailwindcss', '@ianvs/prettier-plugin-sort-imports'],
|
|
// decorators-legacy lets the import sorter transform files with decorators
|
|
importOrderParserPlugins: ['typescript', 'decorators-legacy'],
|
|
importOrder: [
|
|
/**----------------------
|
|
* Style imports
|
|
*------------------------**/
|
|
'^tailwindcss',
|
|
'^~/assets',
|
|
'',
|
|
/**----------------------
|
|
* Vue & Framework
|
|
*------------------------**/
|
|
'^vue$',
|
|
'^vue-i18n$',
|
|
'^vue-router$',
|
|
'^pinia$',
|
|
'^@vue',
|
|
'^@nuxt',
|
|
'',
|
|
/**----------------------
|
|
* Third party
|
|
*------------------------**/
|
|
'^@heroicons',
|
|
'^@unraid/ui',
|
|
'<THIRD_PARTY_MODULES>',
|
|
'',
|
|
/**----------------------
|
|
* Types
|
|
*------------------------**/
|
|
'<TYPES>^@/types',
|
|
'<TYPES>^[.]',
|
|
'<TYPES>',
|
|
'',
|
|
/**----------------------
|
|
* Local imports
|
|
*------------------------**/
|
|
'^~/components',
|
|
'^~/composables',
|
|
'^~/store',
|
|
'^~/utils',
|
|
'^[.]',
|
|
],
|
|
};
|
|
|
|
export default config;
|