@elgato/prettier-config 0.2.1 • Public • Published a month ago
Prettier configuration used by Elgato projects.
Install @elgato/prettier-config
.
npm install @elgato/prettier-config --save-dev
Edit your package.json
to reference the configuration.
"prettier" : " @elgato/prettier-config"
Overriding configuration can be achieved by removing the prettier
entry from package.json
, in favour of a .prettierrc.js
file. For example, to prefer spaces over tabs:
module . exports = {
...require ( "@elgato/prettier-config" ) ,
tabWidth : 2 ,
useTabs : false ,
} ;
This project wishes to express thanks to those who work on Prettier, and Prettier plugins, with particular thanks to:
Package Sidebar Install npm i @elgato/prettier-config
Downloads Weekly Downloads