Skip to content

Commit ba1f7c7

Browse files
committed
build: use vue recommend eslint config
1 parent 9f28814 commit ba1f7c7

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.eslintrc.js

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
module.exports = {
22
root: true,
3+
34
extends: [
4-
'plugin:vue-libs/recommended'
5+
'plugin:vue-libs/recommended',
6+
'plugin:vue/recommended'
57
],
8+
69
rules: {
710
indent: ['error', 2, { MemberExpression: 'off' }],
11+
812
'no-undef': ['error'],
9-
'operator-linebreak': ['error', 'before']
13+
14+
'operator-linebreak': ['error', 'before'],
15+
16+
'vue/match-component-file-name': [
17+
'error',
18+
{
19+
extensions: ['js', 'vue'],
20+
shouldMatchCase: false
21+
}
22+
]
1023
},
24+
1125
overrides: [
1226
{
1327
files: ['*.ts'],

0 commit comments

Comments
 (0)