README.me: update prettier info
This commit is contained in:
parent
e2e79492fb
commit
e5aac3db42
@ -71,7 +71,6 @@ Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?it
|
|||||||
"source.fixAll.eslint": "explicit",
|
"source.fixAll.eslint": "explicit",
|
||||||
"source.removeUnusedImports": "explicit"
|
"source.removeUnusedImports": "explicit"
|
||||||
},
|
},
|
||||||
"editor.formatOnSave": true,
|
|
||||||
"eslint.lintTask.enable": true,
|
"eslint.lintTask.enable": true,
|
||||||
"eslint.validate": [
|
"eslint.validate": [
|
||||||
"javascript",
|
"javascript",
|
||||||
@ -84,7 +83,9 @@ Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?it
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Recomended **.prettierrc**:
|
### ⚙️ Config `.prettierrc`:
|
||||||
|
|
||||||
|
Prettier is not needed, **ESLint Config Awesome🎉** includes **eslint-plugin-prettier** with that config:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
@ -94,7 +95,7 @@ Recomended **.prettierrc**:
|
|||||||
"endOfLine": "auto",
|
"endOfLine": "auto",
|
||||||
"insertPragma": false,
|
"insertPragma": false,
|
||||||
"jsxSingleQuote": false,
|
"jsxSingleQuote": false,
|
||||||
"printWidth": 100,
|
"printWidth": 80,
|
||||||
"proseWrap": "preserve",
|
"proseWrap": "preserve",
|
||||||
"quoteProps": "as-needed",
|
"quoteProps": "as-needed",
|
||||||
"requirePragma": false,
|
"requirePragma": false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user