Skip to content

Instantly share code, notes, and snippets.

@kkeisuke kkeisuke/.prettierrc
Last active Sep 14, 2017

What would you like to do?
prettier でコードフォーマットしてみた ref:
printWidth: 120 # 1行の文字数制限
tabWidth: 2
singleQuote: true
trailingComma: none
semi: false
parser: typescript # flow もあります。
npm install prettier --save-dev
npm run fmt
"scripts": {
"fmt": "prettier --write 'src/**/*.js'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.