Answers for "prettier config"

5

prettier don't format line

// prettier-ignore						JS
{/* prettier-ignore */}					JSX
<!-- prettier-ignore -->				HTML / Markdown
/* prettier-ignore */					CSS
Posted by: Guest on April-09-2020
4

run prettier

npx prettier --write path/to/my/file.html
Posted by: Guest on September-09-2020
1

how to edit /.prettierrc.json file pretter

{
    "trailingComma": "none",
    "tabWidth": 4,
    "semi": true,
    "singleQuote": true
}
Posted by: Guest on December-11-2020
0

prettierrc

{
  "trailingComma": "es5",
  "tabWidth": 4,
  "semi": false,
  "singleQuote": true
}
Posted by: Guest on December-19-2020

Code answers related to "prettier config"

Code answers related to "Javascript"

Browse Popular Code Answers by Language