Skip to content

Commit 9a2bf49

Browse files
committed
add prettier config
1 parent 61c45f7 commit 9a2bf49

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@
2323
"lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'",
2424
"test": "jest"
2525
},
26+
"prettier": {
27+
"printWidth": 120,
28+
"tabWidth": 2,
29+
"quoteProps": "consistent",
30+
"trailingComma": "all",
31+
"overrides": [
32+
{
33+
"files": [
34+
"src/**/*.ts"
35+
],
36+
"options": {
37+
"tabWidth": 4
38+
}
39+
}
40+
]
41+
},
2642
"files": [
2743
"src",
2844
"lib",

0 commit comments

Comments
 (0)