Skip to content

Commit b9eafd1

Browse files
committed
fix: lint error
1 parent b6c825a commit b9eafd1

File tree

4 files changed

+9
-20
lines changed

4 files changed

+9
-20
lines changed

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"editor.formatOnSave": true,
33
"eslint.experimental.useFlatConfig": true
4-
}
4+
}

eslint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ const { sxzz } = require('@sxzz/eslint-config')
22
module.exports = sxzz({
33
rules: {
44
'unused-imports/no-unused-vars': 'off',
5+
'unused-imports/no-unused-imports': 'off',
56
},
67
})

playground/tsconfig.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
"skipLibCheck": true
1818
},
1919
"vueCompilerOptions": {
20-
"plugins": [
21-
"../dist/volar.js"
22-
]
20+
"plugins": ["../dist/volar.js"]
2321
}
2422
}

tsconfig.json

+6-16
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,18 @@
22
"compilerOptions": {
33
"target": "es2022",
44
"jsx": "preserve",
5-
"lib": [
6-
"es2022"
7-
],
5+
"lib": ["es2022"],
86
"module": "esnext",
97
"moduleResolution": "bundler",
108
"resolveJsonModule": true,
9+
"types": ["node", "vue/macros-global"],
1110
"strict": true,
1211
"noUnusedLocals": true,
1312
"esModuleInterop": true,
14-
"skipLibCheck": true,
15-
"types": [
16-
"node",
17-
"vue/macros-global"
18-
]
13+
"skipLibCheck": true
1914
},
2015
"vueCompilerOptions": {
21-
"plugins": [
22-
"./dist/volar.js"
23-
]
16+
"plugins": ["./dist/volar.js"]
2417
},
25-
"include": [
26-
"src",
27-
"tests"
28-
]
29-
}
18+
"include": ["src", "tests"]
19+
}

0 commit comments

Comments
 (0)