Skip to content

Commit

Permalink
chore: configure Prettier for project
Browse files Browse the repository at this point in the history
part 1/2 of #17
  • Loading branch information
frantic1048 committed Nov 10, 2023
1 parent b663b21 commit 02b692f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@
"url": "https://github.com/RightCapitalHQ/renovate-config/issues"
},
"scripts": {
"lint": "prettier -c .",
"fix": "prettier -w .",
"validate": "renovate-config-validator default.json",
"test": "pnpm run validate",
"prepare": "pnpm run test"
},
"devDependencies": {
"@rightcapital/prettier-config": "6.0.4",
"prettier": "3.0.3",
"renovate": "latest"
},
"packageManager": "[email protected]"
}
}
21 changes: 21 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions prettier.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@rightcapital/prettier-config');

0 comments on commit 02b692f

Please sign in to comment.