forked from jhipster/generator-jhipster
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prettier also for css and scss files
fix jhipster#7451
- Loading branch information
JulioJu
committed
Apr 12, 2018
1 parent
bcd4e55
commit 9cce38b
Showing
4 changed files
with
61 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
# Prettier configuration | ||
|
||
printWidth: 140 | ||
singleQuote: true | ||
jsxBracketSameLine: false | ||
parser: typescript | ||
arrowParens: avoid | ||
tabWidth: 4 | ||
useTabs: false | ||
overrides: | ||
- files: "src/**/{*.ts,*.tsx}" | ||
options: | ||
jsxBracketSameLine: false | ||
arrowParens: avoid | ||
parser: typescript | ||
- files: "src/**/*.css" | ||
options: | ||
parser: css | ||
- files: "src/**/*.scss" | ||
options: | ||
parser: scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
# Prettier configuration | ||
|
||
printWidth: 140 | ||
singleQuote: true | ||
jsxBracketSameLine: false | ||
parser: typescript | ||
arrowParens: avoid | ||
tabWidth: 2 | ||
useTabs: false | ||
overrides: | ||
- files: "src/**/{*.ts,*.tsx}" | ||
options: | ||
jsxBracketSameLine: false | ||
arrowParens: avoid | ||
parser: typescript | ||
- files: "src/**/*.css" | ||
options: | ||
parser: css | ||
- files: "src/**/*.scss" | ||
options: | ||
parser: scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters