Skip to content

Commit e69ad3f

Browse files
committed
Update documentation re: running prettier . --write
1 parent 1010a2d commit e69ad3f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ Prettier 3.0.0 and above
5353

5454
_If you already have a `"prettier"` section in `package.json`, remember that takes precedence over the `.prettierrc.js` file!_
5555

56-
1. Run `npm prettier --write .`
56+
1. Run `npm prettier --write . --plugin prettier-plugin-ember-template-tag`
57+
58+
See <https://github.com/gitKrystan/prettier-plugin-ember-template-tag/issues/113> and <https://github.com/prettier/prettier/issues/15351> for details on why using the `--plugin` flag is required here.
5759

5860
## Opinions
5961

examples/bin/test.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const newLine = () => console.log();
1717
const inputDir = './input';
1818
const expectedOutputDir = './expected-output';
1919

20+
// NOTE: Run with `--debug` to get debug output (from both this script and prettier)
2021
const run = async () => {
2122
logDebug('Reading input directory...');
2223

0 commit comments

Comments
 (0)