Skip to content

Commit

Permalink
Merge pull request #20 from brunolm/feature/prettier-all
Browse files Browse the repository at this point in the history
Fix prettier config to run on all file types
  • Loading branch information
brunolm authored Jun 22, 2018
2 parents f93796a + 9e4311a commit acfa3c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"parser": "typescript",
"arrowParens": "always",
"printWidth": 120,
"singleQuote": true,
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Angular: How To

[![Build Status](https://travis-ci.org/brunolm/angular-how-to.svg?branch=master)](https://travis-ci.org/brunolm/angular-how-to)
[![Coverage Status](https://coveralls.io/repos/github/brunolm/angular-how-to/badge.svg?branch=master)](https://coveralls.io/github/brunolm/angular-how-to?branch=master)

Expand All @@ -13,6 +14,7 @@ Each Pull Request will contain explanation and steps taken to complete a feature
- [Create a new Angular project](https://github.com/brunolm/angular-how-to/pull/1)
- [Add prettier config](https://github.com/brunolm/angular-how-to/pull/10)
- [Prettier git hook pre-commit](https://github.com/brunolm/angular-how-to/pull/18)
- [Running prettier on ts, tsx, scss, md](https://github.com/brunolm/angular-how-to/pull/20)

### Upgrades

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"lint-staged": {
"*.{ts,tsx}": [
"*.{ts,tsx,scss,md}": [
"prettier --write",
"git add"
]
Expand Down

0 comments on commit acfa3c5

Please sign in to comment.