mirror of
https://github.com/unraid/api.git
synced 2026-01-06 16:49:49 -06:00
* chore(web): add import organizer plugin to prettier config * chore(api): add import organizer plugin to prettier config * chore(api): sort imports in notifications resolver & service as a demonstration * chore(web): sort imports in notifications indicator as a demonstration
14 lines
306 B
JavaScript
14 lines
306 B
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'],
|
|
};
|
|
|
|
export default config;
|