mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-05-09 04:05:13 +02:00
18 lines
533 B
JavaScript
18 lines
533 B
JavaScript
// @ts-check
|
|
|
|
/** @type {import("prettier").Config} */
|
|
module.exports = {
|
|
useTabs: true,
|
|
singleQuote: true,
|
|
trailingComma: 'none',
|
|
printWidth: 100,
|
|
plugins: ['prettier-plugin-svelte', '@ianvs/prettier-plugin-sort-imports'],
|
|
/* prettier-plugin-svelte */
|
|
overrides: [{ files: '*.svelte', options: { parser: 'svelte' } }],
|
|
/* @ianvs/prettier-plugin-sort-imports */
|
|
importOrder: ['^~/(.*)$', '^./(.*)$', ''],
|
|
importOrderParserPlugins: ['typescript'],
|
|
importOrderTypeScriptVersion: '5.0.0',
|
|
importOrderCaseSensitive: false
|
|
};
|