@archilogic/prettier
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@archilogic/prettier", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Archilogic's shared Prettier config", | ||
@@ -5,0 +5,0 @@ "main": "prettier.json", |
@@ -7,3 +7,3 @@ # Archilogic's shared [Prettier](https://prettier.io) configuration | ||
`npm i -D prettier github:archilogic-com/prettier` | ||
`npm i -D prettier @archilogic/prettier` | ||
@@ -17,3 +17,3 @@ Then, add a `prettier` option to your `package.json`: | ||
"scripts": {...}, | ||
"prettier": "@archilogic-com/prettier" | ||
"prettier": "@archilogic/prettier" | ||
} | ||
@@ -23,4 +23,5 @@ ``` | ||
or create a `.prettierrc.json` file with the following line: | ||
``` | ||
"@archilogic-com/prettier" | ||
"@archilogic/prettier" | ||
``` | ||
@@ -32,2 +33,3 @@ | ||
Or add a script to `package.json` | ||
``` | ||
@@ -58,2 +60,3 @@ "scripts": { | ||
If you need to extend the configuration or overwrite some of its settings, import the file in a `.prettierrc.js` file and export the modifications, e.g: | ||
``` | ||
@@ -65,6 +68,1 @@ module.exports = { | ||
``` | ||
2627
63