/
githubmirror
/
OpenAgents
Обзор
Документация
Войти
/
githubmirror
/
OpenAgents
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
frontend/prettier.config.js
25 строк
702 B
Luoxuan Weng
Update: add frontend code
13 окт 2023, 18:01
13 окт 2023, 18:01
9e312e9
Код
Авторство
О чём код?
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, };