Llama-2-13B-GGML-UI / prettier.config.js
gsaivinay's picture
Duplicate from matthoffner/starchat-ui
a28cd69
raw
history blame contribute delete
702 Bytes
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,
};