prettier/index.js

11 lines
351 B
JavaScript
Raw Normal View History

2023-10-03 12:37:05 +00:00
/** @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} */
export default {
semi: false,
singleQuote: true,
printWidth: 120,
trailingComma: 'all',
plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-packagejson'],
2023-10-31 20:23:20 +00:00
importOrder: ['<BUILT_IN_MODULES>', '', '<THIRD_PARTY_MODULES>', '', '^[@$]', '', '^[.]'],
2023-10-03 12:37:05 +00:00
}