Spaces:
Runtime error
Runtime error
module.exports = { | |
trailingComma: 'all', | |
singleQuote: true, | |
plugins: [ | |
'prettier-plugin-tailwindcss', | |
'@trivago/prettier-plugin-sort-imports', | |
], | |
importOrder: [ | |
'react', // React | |
'^react-.*$', // React-related imports | |
'^next', // Next-related imports | |
'^next-.*$', // Next-related imports | |
'^next/.*$', // Next-related imports | |
'^.*/hooks/.*$', // Hooks | |
'^.*/services/.*$', // Services | |
'^.*/utils/.*$', // Utils | |
'^.*/types/.*$', // Types | |
'^.*/pages/.*$', // Components | |
'^.*/components/.*$', // Components | |
'^[./]', // Other imports | |
'.*', // Any uncaught imports | |
], | |
importOrderSeparation: true, | |
importOrderSortSpecifiers: true, | |
}; | |