Skip to content

Commit 8a48406

Browse files
fix(eslint): make eslint compatible with prettier
Fix/eslint vs prettier
2 parents 0fd0dd4 + 0e9c880 commit 8a48406

File tree

3 files changed

+7
-19
lines changed

3 files changed

+7
-19
lines changed

.eslintrc.js

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,15 @@ require('@rushstack/eslint-patch/modern-module-resolution')
44
module.exports = {
55
root: true,
66
extends: [
7-
// add more generic rulesets here, such as:
8-
'plugin:import/errors',
7+
'plugin:vue/vue3-essential',
98
'eslint:recommended',
10-
'plugin:vue/vue3-recommended',
9+
'@vue/eslint-config-typescript',
1110
'@vue/eslint-config-prettier/skip-formatting',
1211
],
13-
parserOptions: {
14-
ecmaVersion: 'latest',
15-
},
16-
env: {
17-
browser: true,
18-
amd: true,
19-
node: true,
20-
},
2112
rules: {
22-
'strict': 'error',
2313
'vue/multi-word-component-names': 'off',
2414
'object-curly-spacing': ['error', 'always'],
2515
'operator-linebreak': ['error', 'after'],
26-
'comma-dangle': ['error', 'never'],
27-
'import/no-duplicates': 'error',
28-
'import/no-unresolved': 0,
2916
'semi': ['error', 'never'],
3017
'indent': [
3118
'error',
@@ -35,7 +22,8 @@ module.exports = {
3522
SwitchCase: 1,
3623
},
3724
],
38-
// override/add rules settings here, such as:
39-
'vue/no-unused-vars': 'error',
25+
},
26+
parserOptions: {
27+
ecmaVersion: 'latest',
4028
},
4129
}

src/components/auth/Heading.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="text-center mb-6">
33
<img
44
class="mb-3"
5-
:src="`/${isDark ? 'logo-dark' : 'logo'}.png`"
5+
:src="`/${isDark ? 'logo' : 'logo'}.png`"
66
:width="isDark ? 60 : 70"
77
alt="Logo"
88
/>

src/pages/auth/forgot-password.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<AuthLayout>
3-
<v-sheet width="360" rounded class="position-relative mx-auto border rounded-lg pa-8">
3+
<v-sheet width="360" rounded class="position-relative mx-auto pa-8 rounded-lg">
44
<v-progress-linear :active="isLoading" indeterminate absolute bottom color="primary" />
55

66
<v-alert

0 commit comments

Comments
 (0)