Español
Appearance
For JS/TS files, use oxfmt-ignore to skip formatting the next statement:
oxfmt-ignore
// oxfmt-ignore const a = 42; /* oxfmt-ignore */ const x = () => { return 2; }; <> {/* oxfmt-ignore */} <span ugly format="" /> </>; ```<script>` tag: <!-- prettier-ignore-start --> ```vue <script> // oxfmt-ignore const a = 42; </script>
Inline ignore comments
For JS/TS files, use
# Inline ignore commentsoxfmt-ignoreto skip formatting the next statement:For JS/TS files, use
oxfmt-ignoreto skip formatting the next statement: