prettier ignore code example
Example 1: prettier don't format line
// prettier-ignore JS
{/* prettier-ignore */} JSX
<!-- prettier-ignore --> HTML / Markdown
/* prettier-ignore */ CSS
Example 2: disable prettier
To disable prettier for some specific part of a file
Read-> https://prettier.io/docs/en/ignore.html#ignoring-files
Example 3: disable prietter for lines
matrix(1, 0, 0, 0, 1, 0, 0, 0, 1);
// prettier-ignore
matrix(
1, 0, 0,
0, 1, 0,
0, 0, 1
)