diff --git a/.eslintrc.js b/.eslintrc.js index e0350098..060255fa 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -51,9 +51,14 @@ module.exports = { 'node/no-unpublished-require': ['off'], 'node/no-unsupported-features/es-syntax': ['off'], // kebab case components for vuejs - 'vue/component-name-in-template-casing': ['error', 'kebab-case'], + 'vue/component-name-in-template-casing': ['error', 'kebab-case'], // space before self-closing elements 'vue/html-closing-bracket-spacing': 'error', + // newline before closing bracket + 'vue/html-closing-bracket-newline': ["error", { + "singleline": "never", + "multiline": "never" + }], // code spacing with attributes 'vue/max-attributes-per-line': [ 'error', diff --git a/src/App.vue b/src/App.vue index f6ec28c1..13c347f6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,8 +10,7 @@
{{ t('social', 'Social needs the .well-known automatic discovery to be properly set up. If Nextcloud is not installed in the root of the domain, it is often the case that Nextcloud can\'t configure this automatically. To use Social, the admin of this Nextcloud instance needs to manually configure the .well-known redirects: ') }} + rel="noreferrer noopener"> {{ t('social', 'Open documentation') }} ↗
@@ -30,8 +29,7 @@ {{ t('social', 'ActivityPub URL base') }} + required> @@ -40,8 +38,7 @@{{ t('social', 'Social needs the .well-known automatic discovery to be properly set up. If Nextcloud is not installed in the root of the domain, it is often the case that Nextcloud can\'t configure this automatically. To use Social, the admin of this Nextcloud instance needs to manually configure the .well-known redirects: ') }} + rel="noreferrer noopener"> {{ t('social', 'Open documentation') }} ↗
diff --git a/src/components/Composer.vue b/src/components/Composer.vue index 5c6cc942..62c4f127 100644 --- a/src/components/Composer.vue +++ b/src/components/Composer.vue @@ -24,8 +24,7 @@