Skip to content

Commit 8fd5aa9

Browse files
committed
fix(prettier): only use spaces for package.json rather than all json
1 parent a31454e commit 8fd5aa9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configs/prettier.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ export default {
1919
trailingComma: 'all',
2020
useTabs: true,
2121
overrides: [
22+
// formatting the package.json with anything other than spaces will cause
23+
// issues when running install...
2224
{
23-
files: ['**/*.json'],
25+
files: ['**/package.json'],
2426
options: {
2527
useTabs: false,
2628
},

0 commit comments

Comments
 (0)