Skip to content

Commit 7577d67

Browse files
[autofix.ci] apply automated fixes
1 parent b2963d1 commit 7577d67

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ If you’re fixing large of amounts of previously unformatted code, consider tem
122122
> Note: While it is possible to pass options to Prettier via your ESLint configuration file, it is not recommended because editor extensions such as `prettier-atom` and `prettier-vscode` **will** read [`.prettierrc`](https://prettier.io/docs/en/configuration.html), but **won't** read settings from ESLint, which can lead to an inconsistent experience.
123123
124124
- The first option:
125-
126125
- An object representing [options](https://prettier.io/docs/en/options.html) that will be passed into prettier. Example:
127126

128127
```json
@@ -140,9 +139,7 @@ If you’re fixing large of amounts of previously unformatted code, consider tem
140139
NB: This option will merge and override any config set with `.prettierrc` files
141140

142141
- The second option:
143-
144142
- An object with the following options
145-
146143
- `usePrettierrc`: Enables loading of the Prettier configuration file, (default: `true`). May be useful if you are using multiple tools that conflict with each other, or do not wish to mix your ESLint settings with your Prettier configuration. And also, it is possible to run prettier without loading the prettierrc config file [via the CLI's --no-config option](https://prettier.io/docs/en/cli.html#--no-config) or through the API by [calling prettier.format() without passing through the options generated by calling resolveConfig](https://prettier.io/docs/en/api.html#prettierresolveconfigfilepath--options).
147144

148145
```json

0 commit comments

Comments
 (0)