From e34cfec074a4f6e757747a812e7b834b7e60e9e3 Mon Sep 17 00:00:00 2001 From: Simon Garner Date: Mon, 6 Sep 2021 10:30:30 +1200 Subject: [PATCH] Reformat with prettier --- README.md | 6 +++--- barrelsby.json | 7 +------ renovate.json | 8 ++------ tsconfig.json | 18 ++++-------------- 4 files changed, 10 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 15a0c3e..e5dc9e0 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ following example adds a `todos` Smart Query to a component, in Vue class compon skip: 0, }; }, - }) - } + }), + }, }) class TodoList extends Vue { todos: Todo[] | null = null; @@ -142,7 +142,7 @@ class TodoList extends Vue { title: 'Bake a cake', }, }); - + if (!result.success) { throw new Error(`Failed to create Todo!`); } diff --git a/barrelsby.json b/barrelsby.json index a3b4b8a..01fd2cf 100644 --- a/barrelsby.json +++ b/barrelsby.json @@ -1,11 +1,6 @@ { "directory": "src/", - "exclude": [ - "\\.(spec|e2e-spec)\\.ts$", - "src/cli/", - "src/database/", - "src/testing/" - ], + "exclude": ["\\.(spec|e2e-spec)\\.ts$", "src/cli/", "src/database/", "src/testing/"], "location": "all", "structure": "flat", "singleQuotes": true, diff --git a/renovate.json b/renovate.json index 7efeb6f..6f46dde 100644 --- a/renovate.json +++ b/renovate.json @@ -12,12 +12,8 @@ "prCreation": "not-pending", "stabilityDays": 3, "rebaseWhen": "conflicted", - "labels": [ - "dependencies" - ], - "reviewers": [ - "sgarner" - ], + "labels": ["dependencies"], + "reviewers": ["sgarner"], "packageRules": [ { "packagePatterns": ["eslint"], diff --git a/tsconfig.json b/tsconfig.json index 4c3becc..a579f6a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,19 +15,9 @@ "strictNullChecks": true, "outDir": "./dist", "baseUrl": "./", - "paths": { - }, - "types": [ - "@types/node", - "@types/jest", - "vue-apollo/types" - ] + "paths": {}, + "types": ["@types/node", "@types/jest", "vue-apollo/types"] }, - "include":[ - "src/**/*", - "test/**/*" - ], - "exclude": [ - "node_modules" - ] + "include": ["src/**/*", "test/**/*"], + "exclude": ["node_modules"] }