UNPKG
prettier-config-harry
Version:
latest (1.0.1)
1.0.1
A shared Prettier config with Tailwind support and Harry's preferred formatting rules.
prettier-config-harry
/
index.js
14 lines
(13 loc)
•
293 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module.exports
=
{
useTabs:
true
,
semi:
true
,
singleQuote:
true
,
jsxSingleQuote:
true
,
bracketSpacing:
true
,
arrowParens:
'always'
,
htmlWhitespaceSensitivity:
'css'
,
tabWidth:
2
,
trailingComma:
'es5'
,
printWidth:
100
,
plugins:
[
require('prettier-plugin-tailwindcss')
], }