Closed cryptojcdenton closed 2 years ago
Adding the following to package.json along with installing prettier lets you use prettier on a per-file basis, using the requirePragma option:
package.json
requirePragma
"prettier": { "singleQuote": true, "requirePragma": true },
This means the webaverse codebase can slowly be migrated, file-by-file, without impacting day to day usability. Prettier was attempted before, but I suspect without this option making the migration cumbersome.
Closing since this is in upstream, https://github.com/webaverse-studios/app
Adding the following to
package.json
along with installing prettier lets you use prettier on a per-file basis, using therequirePragma
option:This means the webaverse codebase can slowly be migrated, file-by-file, without impacting day to day usability. Prettier was attempted before, but I suspect without this option making the migration cumbersome.