prettier config for ikatyang
# using npm
npm install --save-dev prettier-config-ikatyang
# using yarn
yarn add --dev prettier-config-ikatyang
-
(prettier.config.js)
module.exports = require('prettier-config-ikatyang');
-
(tslint.json)
{ "extends": "prettier-config-ikatyang/tslint" }
NOTE: need to install tslint-plugin-prettier simultaneously
# lint
yarn run lint
# build
yarn run build
MIT © Ika