Refactor to use hooks (#436)
This commit is contained in:
parent
124efca9a1
commit
cb60f8b143
139 changed files with 8871 additions and 8726 deletions
|
|
@ -1,34 +0,0 @@
|
|||
/** @type {import('prettier').Config} */
|
||||
module.exports = {
|
||||
endOfLine: 'lf',
|
||||
semi: false,
|
||||
useTabs: false,
|
||||
singleQuote: true,
|
||||
arrowParens: 'avoid',
|
||||
tabWidth: 2,
|
||||
trailingComma: 'none',
|
||||
importOrder: [
|
||||
'^(react/(.*)$)|^(react$)',
|
||||
'^(next/(.*)$)|^(next$)',
|
||||
'<THIRD_PARTY_MODULES>',
|
||||
'',
|
||||
'^types$',
|
||||
'^@/types/(.*)$',
|
||||
'^@/config/(.*)$',
|
||||
'^@/lib/(.*)$',
|
||||
'^@/hooks/(.*)$',
|
||||
'^@/components/ui/(.*)$',
|
||||
'^@/components/(.*)$',
|
||||
'^@/registry/(.*)$',
|
||||
'^@/styles/(.*)$',
|
||||
'^@/app/(.*)$',
|
||||
'',
|
||||
'^[./]'
|
||||
],
|
||||
importOrderSeparation: false,
|
||||
importOrderSortSpecifiers: true,
|
||||
importOrderBuiltinModulesToTop: true,
|
||||
importOrderParserPlugins: ['typescript', 'jsx', 'decorators-legacy'],
|
||||
importOrderMergeDuplicateImports: true,
|
||||
importOrderCombineTypeAndValueImports: true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue