Feature Request: Ability to disable warnings via code comments or global config rules #325
Labels
help wanted
We are looking for community help
type: bug
Functionality that does not work as intended/expected
Request / Idea
This is a feature request to have the ability to disable warnings via code comments or global config rules.
Right now this section of code
plugin-pug/src/printer.ts
Lines 1456 to 1483 in 9e6620a
Similar to being able to ignore automatic formatting, it would be great to have (via comments or config, or both possibly), the ability to ignore warnings.
e.g. https://prettier.github.io/plugin-pug/guide/#usage highlights the ability to write
//- prettier-ignore
before a block of code to disable prettier from auto-formatting itInput
Expected Output
None
Additional Context
There is no ability that I've found so far as to disable warnings, or specific warnings related to specific blocks/lines of code.
cc @spence-s @shadowgate15
The text was updated successfully, but these errors were encountered: