Skip to content

Commit 0522f01

Browse files
authored
update prettier options doc
1 parent 1437581 commit 0522f01

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

README.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,9 @@ module.exports = {
4949
The recommended set will apply [these rules](https://github.com/ember-template-lint/ember-template-lint-plugin-prettier/blob/v1.1.0-beta.0/lib/config/recommended.js).
5050

5151
## Configure Prettier Options
52+
Prettier can only be configured via [standard prettier config files](https://prettier.io/docs/en/configuration.html)
53+
It is not possible to pass prettier options with the rule options.
5254

53-
Prettier can be configured via [standard prettier config files](https://prettier.io/docs/en/configuration.html), or rule config options.
54-
The configuration from the rule will be merged with the rc file config, overriding existing options.
55-
e.g
56-
57-
```js
58-
module.exports = {
59-
plugins: ["ember-template-lint-plugin-prettier"],
60-
61-
extends: ["recommended", "ember-template-lint-plugin-prettier:recommended"],
62-
63-
rules: {
64-
"prettier": { singleQuote: true }
65-
}
66-
};
67-
```
6855

6956
## Tips
7057

0 commit comments

Comments
 (0)