Skip to content

Commit

Permalink
fix(prettier): only use spaces for package.json rather than all json
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed May 24, 2024
1 parent a31454e commit 8fd5aa9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configs/prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ export default {
trailingComma: 'all',
useTabs: true,
overrides: [
// formatting the package.json with anything other than spaces will cause
// issues when running install...
{
files: ['**/*.json'],
files: ['**/package.json'],
options: {
useTabs: false,
},
Expand Down

0 comments on commit 8fd5aa9

Please sign in to comment.