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', '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 @@