Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit 8c921fe

Browse files
authored
added "quote-props": "preserve" (#413)
* added "quote-props": "preserved" so that prettier will not overwrite changes to fix camelCase. e.g. ``` describe("test prompt function", () => { it("positive test: No App Creation", async () => { const answers = { - azdo_org_name: "org", - azdo_pat: "pat", - azdo_project_name: "project", - create_app_repo: false + "azdo_org_name": "org", + "azdo_pat": "pat", + "azdo_project_name": "project", + "create_app_repo": false }; jest.spyOn(inquirer, "prompt").mockResolvedValueOnce(answers); const ans = await prompt(); ``` * Update package.json * Update package.json
1 parent 4af02c5 commit 8c921fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
"webpack-cli": "^3.3.9"
5353
},
5454
"prettier": {
55-
"proseWrap": "always"
55+
"proseWrap": "always",
56+
"quote-props": "preserve"
5657
},
5758
"husky": {
5859
"hooks": {

0 commit comments

Comments
 (0)