mirror of
https://github.com/RealKai42/qwerty-learner.git
synced 2026-04-05 06:19:08 +08:00
chore: modify prettier config
This commit is contained in:
16
prettier.config.js
Normal file
16
prettier.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
printWidth: 140,
|
||||
bracketSpacing: true,
|
||||
semi: false,
|
||||
tabWidth: 2,
|
||||
jsxSingleQuote: false,
|
||||
overrides: [
|
||||
{
|
||||
files: '.prettierrc',
|
||||
options: { parser: 'json' },
|
||||
},
|
||||
],
|
||||
plugins: ['@trivago/prettier-plugin-sort-imports', require('prettier-plugin-tailwindcss')],
|
||||
}
|
||||
Reference in New Issue
Block a user