Skip to content

gorrion-io/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@gorrion/prettier-config

Prettier config used at Gorrion Software House

Usage

Install the package using npm (or yarn or pnpm)

npm install --save-dev @gorrion/prettier-config

Add the prettier key to your package.json

diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
   "keywords": [
     "prettier"
   ],
+  "prettier": "@gorrion/prettier-config",
   "author": {
    "name": "Gorrion Software House",
    "url": "https://gorrion.io"
  },
  "main": "index.js"

Overwrite

If you need to overwrite some settings, create .prettierrc.js file, import config and export modifications, e.g:

module.exports = {
  ...require("@gorrion/prettier-config"),
  semi: false,
};

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published