diff --git a/.eslintrc.js b/.eslintrc.js index 340cc1cf..e0350098 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -50,6 +50,8 @@ module.exports = { // es6 import/export and require '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'], // space before self-closing elements 'vue/html-closing-bracket-spacing': 'error', // code spacing with attributes diff --git a/package.json b/package.json index b01547b7..fb15afea 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "dev": "webpack --config webpack.dev.js", "watch": "webpack --progress --watch --config webpack.dev.js", "build": "webpack --progress --hide-modules --config webpack.prod.js", - "lint": "eslint --ext .js,.vue src tests", - "lint:fix": "eslint --ext .js,.vue src tests --fix", + "lint": "eslint --ext .js,.vue src", + "lint:fix": "eslint --ext .js,.vue src --fix", "test": "jest", "test:coverage": "jest --coverage" }, diff --git a/src/App.vue b/src/App.vue index 7bfea6ab..f6ec28c1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,11 +5,18 @@
-

{{ t('social', '.well-known/webfinger isn\'t properly set up!') }}

-

{{ 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: ') }}{{ t('social', 'Open documentation') }} ↗

+

+ {{ t('social', '.well-known/webfinger isn\'t properly set up!') }} +

+

+ {{ 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: ') }} + {{ t('social', 'Open documentation') }} ↗ + +

- +
@@ -19,15 +26,25 @@

{{ t('social', 'ActivityPub requires a fixed URL to make entries unique. Note that this can not be changed later without resetting the Social app.') }}

- - + +

@@ -76,26 +93,16 @@