This is a small CLI tool that dumps all of Prettier’s default configuration options to a file in the format of your choice.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

package.json 717B

1234567891011121314151617181920212223242526272829
  1. {
  2. "name": "prettier-default-config",
  3. "version": "0.2.3",
  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. "repository": {
  12. "type": "git",
  13. "url": "https://git.simulacrum.party/simulacrumparty/prettier-default-config"
  14. },
  15. "license": "MIT",
  16. "files": [
  17. "index.js"
  18. ],
  19. "dependencies": {
  20. "@iarna/toml": "^2.2.3",
  21. "minimist": "^1.2.0",
  22. "prettier": "^1.19.1",
  23. "yaml": "^1.7.2"
  24. },
  25. "devDependencies": {
  26. "faucet": "0.0.1",
  27. "tape": "^4.13.0"
  28. }
  29. }