(Not documented, but) Prettier supports trailing ignore comment too. However, we don't support it to avoid a performance hit. Please update your code in that case.
For non-JS files, the same convention as Prettier works. Please see Prettier's documentation.
For TOML files, ignore comments are not supported.
Inline ignore comments
For JS/TS files, you can use a
prettier-ignorecomment.This takes effect on the next statement/expression.
WARNING
(Not documented, but) Prettier supports trailing ignore comment too. However, we don't support it to avoid a performance hit. Please update your code in that case.
For non-JS files, the same convention as Prettier works. Please see Prettier's documentation.
For TOML files, ignore comments are not supported.