diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100755 index 0000000..f807de9 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,21 @@ +module.exports = { + root: true, + env: { + browser: true, + node: true + }, + parserOptions: { + parser: 'babel-eslint' + }, + extends: [ + // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention + // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules. + 'plugin:vue/essential' + ], + // required to lint *.vue files + plugins: [ + 'vue' + ], + // add your custom rules here + rules: {} +} diff --git a/.gitignore b/.gitignore index 185e663..b0d062f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,5 @@ yarn-error.log* *.njsproj *.sln *.sw* + +.nuxt \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..ad1ee79 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,9 @@ +{ + "bracketSpacing": true, + "printWidth": 100, + "semi": false, + "singleQuote": true, + "tabWidth": 2, + "trailingComma": "none", + "useTabs": false +} diff --git a/assets/css/main.css b/assets/css/main.css index e205e50..8029d70 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -68,3 +68,8 @@ body { .btn-indigo:hover { @apply bg-indigo text-white; } + +/* Temporary fix for https://github.com/vaso2/nuxt-fontawesome/issues/9 */ +.fix-fa-inlined span{ + width: 1em !important; +} \ No newline at end of file diff --git a/components/ProfileList.vue b/components/ProfileList.vue index 6b12760..9bbda79 100644 --- a/components/ProfileList.vue +++ b/components/ProfileList.vue @@ -1,16 +1,16 @@