1.0.2 • Published 3 years ago
@kiridevs_configs/prettier v1.0.2
@kiridevs_configs/prettier
This package contains my personal default prettier.config.js
Usage
Consult LICENSE.md for license information.
This package is published on npm.
After installing it, configure prettier to use it via package.json:
// package.json
"prettier": "@kiridevs_configs/prettier/prettier.config.js"Extending
To extend / partially override the options of this config, create a new
prettier.config.js in your own project. There, you can import this package
and re-export your modified object:
import prettierConfig from "@kiridevs_config/prettier";
module.exports = {
// Interpolate @kiridevs_configs/prettier via the spread operator
...prettierConfig,
// Overriding options
tabWidth: 4,
endOfLine: "crlf"
};