forked from TfTHacker/obsidian42-brat
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prettier.config.cjs
40 lines (39 loc) · 842 Bytes
/
prettier.config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// eslint-disable-next-line tsdoc/syntax -- ignore for prettier config
/** @type {import("prettier").Config} */
const config = {
plugins: [
// // sorts consistently class names in tailwindcss
// 'prettier-plugin-tailwindcss',
],
semi: true,
trailingComma: 'es5',
singleQuote: true,
printWidth: 90,
tabWidth: 2,
useTabs: false,
endOfLine: 'lf',
arrowParens: 'always',
bracketSameLine: false,
bracketSpacing: true,
htmlWhitespaceSensitivity: 'css',
jsxSingleQuote: false,
proseWrap: 'preserve',
quoteProps: 'consistent',
singleAttributePerLine: false,
experimentalTernaries: true,
overrides: [
{
files: '*.html',
options: {
parser: 'html',
},
},
{
files: '*.css',
options: {
parser: 'css',
},
},
],
};
module.exports = config;