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

Conversation

@dennisseah
Copy link
Collaborator

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();

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();
```
@dennisseah
Copy link
Collaborator Author

@evanlouie is this the correct rule name?

@dennisseah dennisseah changed the title added "quote-props": "preserved" added "quote-props": "consistent" Mar 18, 2020
@dennisseah dennisseah changed the title added "quote-props": "consistent" added "quote-props": "preserve" Mar 18, 2020
@timfpark timfpark self-requested a review March 18, 2020 15:29
@dennisseah dennisseah merged commit 8c921fe into master Mar 18, 2020
@dennisseah dennisseah deleted the dennisseah-patch-1 branch March 18, 2020 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants