Skip to content

Commit cd9bd03

Browse files
committedApr 12, 2020
prettier: basic config
1 parent 7e7bc15 commit cd9bd03

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎.eslintrc.json

+2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
},
1515
"settings": {
1616
},
17+
"plugins": ["prettier"],
1718
"rules": {
19+
"prettier/prettier": "error",
1820
"no-extra-semi": 0
1921
}
2022
}

‎.prettierrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 4,
4+
"semi": true,
5+
"singleQuote": true
6+
}

0 commit comments

Comments
 (0)
Please sign in to comment.