happy bday!
This commit is contained in:
23
.prettierrc.mjs
Normal file
23
.prettierrc.mjs
Normal file
@@ -0,0 +1,23 @@
|
||||
/** @type {import("prettier").Config} */
|
||||
export default {
|
||||
bracketSpacing: true,
|
||||
bracketSameLine: true,
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
arrowParens: 'avoid',
|
||||
semi: true,
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.ts', '*.js', '*.tsx', '*.jsx', '*.cjs', '*.mjs', '*.astro'],
|
||||
options: {
|
||||
printWidth: 120,
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['*.html'],
|
||||
options: {
|
||||
printWidth: 100,
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user