Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
feat(prettier): add prettier configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatyang committed Jul 21, 2017
1 parent e192608 commit 6668f32
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -27,6 +27,7 @@
"tslint": "^5.5.0"
},
"files": [
"/lib/**/*"
"/lib/**/*",
"/prettier.js"
]
}
11 changes: 11 additions & 0 deletions prettier.js
@@ -0,0 +1,11 @@
module.exports = {
printWidth: 80,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: true,
trailingComma: 'all',
bracketSpacing: true,
jsxBracketSameLine: false,
parser: 'babylon',
};

0 comments on commit 6668f32

Please sign in to comment.