Bug 1829188 - Provide a hint of what to do when Prettier fails. r=linter-reviewers,ahal DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D176068
This commit is contained in:
Mark Banner 2023-04-20 18:45:07 +00:00
parent 811b5ee23e
commit 19923fc27f

View File

@ -38,7 +38,9 @@ An error occurred running prettier. Please check the following error messages:
{}
""".strip()
PRETTIER_FORMATTING_MESSAGE = "This file needs formatting with prettier."
PRETTIER_FORMATTING_MESSAGE = (
"This file needs formatting with Prettier (use 'mach lint --fix <path>')."
)
def setup(root, **lintargs):