From cf797c7702a9f92784263e5b1498467df924938f Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Thu, 26 Sep 2024 09:13:22 -0600 Subject: [PATCH] disable checkboxes for nostr partner messages; adjust linting warnings --- .eslintrc.js | 9 +++++--- src/components/PhotoDialog.vue | 3 ++- src/views/AccountViewView.vue | 10 ++++++--- src/views/HelpOnboardingView.vue | 3 ++- src/views/HelpView.vue | 2 +- src/views/NewEditProjectView.vue | 38 +++++++++++++++++++++++++------- src/views/ProjectViewView.vue | 5 ++++- src/views/ProjectsView.vue | 5 ++++- src/views/StatisticsView.vue | 15 ++++++++----- 9 files changed, 65 insertions(+), 25 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 58c9c98..553ac75 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -17,15 +17,18 @@ module.exports = { "max-len": [ "warn", { - code: 100, - ignoreComments: true, + code: 120, + ignoreComments: true, // why does this not make it allow comment of any length? + ignorePattern: '^\\s*class="[^"]*"$', + ignoreStrings: true, ignoreTemplateLiterals: true, + ignoreTrailingComments: true, ignoreUrls: true, }, ], "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", - "prettier/prettier": ["warn", { printWidth: 100 }], + // "prettier/prettier": ["warn", { printWidth: 120 }], // removes errors but adds thousands of warnings "@typescript-eslint/no-unnecessary-type-constraint": "off", }, }; diff --git a/src/components/PhotoDialog.vue b/src/components/PhotoDialog.vue index ddf07ad..a83890b 100644 --- a/src/components/PhotoDialog.vue +++ b/src/components/PhotoDialog.vue @@ -76,7 +76,8 @@
- +
- Image Server URL  + Image Server URL +   {{ DEFAULT_IMAGE_API_SERVER }}
- Partner Server URL  + Partner Server URL {{ DEFAULT_PARTNER_API_SERVER }}
diff --git a/src/views/HelpOnboardingView.vue b/src/views/HelpOnboardingView.vue index e6c6b11..9685dfa 100644 --- a/src/views/HelpOnboardingView.vue +++ b/src/views/HelpOnboardingView.vue @@ -50,7 +50,8 @@

Discuss Backups

- 8) Exporting backups are important if they lose their phone --- especially for the Identifier Seed! + 8) Exporting backups are important if they lose their phone + --- especially for the Identifier Seed!

diff --git a/src/views/HelpView.vue b/src/views/HelpView.vue index cf3c9a1..89f4f8d 100644 --- a/src/views/HelpView.vue +++ b/src/views/HelpView.vue @@ -21,7 +21,7 @@
- +

This app focuses on gifts & gratitude, using them to build cool things together with your network. diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index 759ea39..c91138d 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -145,7 +145,10 @@

- - +