This is a small CLI tool that dumps all of Prettier’s default configuration options to a file in the format of your choice.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

package.json 586B

12345678910111213141516171819202122232425
  1. {
  2. "name": "prettier-default-config",
  3. "version": "0.1.1",
  4. "description": "Generate a prettier config file with all the possible options and their default values",
  5. "bin": "index.js",
  6. "scripts": {
  7. "format": "prettier --write ./*.js",
  8. "test": "tape test.js | faucet"
  9. },
  10. "author": "Dylan Baker <dylan@simulacrum.party>",
  11. "license": "MIT",
  12. "files": [
  13. "index.js"
  14. ],
  15. "dependencies": {
  16. "minimist": "^1.2.0"
  17. },
  18. "devDependencies": {
  19. "faucet": "0.0.1",
  20. "prettier": "^1.19.1",
  21. "tape": "^4.13.0",
  22. "toml": "^3.0.0",
  23. "yaml": "^1.7.2"
  24. }
  25. }