Skip to content

Inline ignore comments

For JS/TS files, use oxfmt-ignore to skip formatting the next statement:

# Inline ignore comments

For JS/TS files, use oxfmt-ignore to skip formatting the next statement:

js
// 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>