1.0.1 • Published 2 years ago
@locastic/prettier-config v1.0.1
Usage
Install the required packages:
npm install --save-dev @locastic/prettier-config
Extend your ESLint config:
In any of the supported extensions export a string, e.g. .prettierrc.json, .prettierrc
"@locastic/prettier-config"
Note: This method above not offer a way to extend the configuration to overwrite some properties from the shared configuration. If you need to do that, import the file in a .prettierrc.js file and export the modifications, e.g:
module exports = { ...require("@locastic/prettier-config"), singleQuote: false, }
License
The MIT License
1.0.1
2 years ago