mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
refactor: version 2.0 (React)
This commit is contained in:
parent
7dad7d810a
commit
950f72d4e8
356 changed files with 7901 additions and 29547 deletions
21
prettier.config.js
Normal file
21
prettier.config.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
module.exports = {
|
||||
trailingComma: 'es5',
|
||||
tabWidth: 2,
|
||||
useTabs: false,
|
||||
semi: false,
|
||||
jsxBracketSameLine: false,
|
||||
arrowParens: 'avoid',
|
||||
endOfLine: 'lf',
|
||||
bracketSpacing: true,
|
||||
htmlWhitespaceSensitivity: 'strict',
|
||||
singleQuote: true,
|
||||
|
||||
// Tailwind CSS
|
||||
plugins: [require('prettier-plugin-tailwindcss')],
|
||||
tailwindConfig: './tailwind.config.js',
|
||||
|
||||
// Sort import order
|
||||
importOrder: ['^@/(.*)$', '^[./]'],
|
||||
importOrderSeparation: false,
|
||||
importOrderSortSpecifiers: true,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue