Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanzmj committed Oct 31, 2023
1 parent b6c825a commit b9eafd1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"editor.formatOnSave": true,
"eslint.experimental.useFlatConfig": true
}
}
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ const { sxzz } = require('@sxzz/eslint-config')
module.exports = sxzz({
rules: {
'unused-imports/no-unused-vars': 'off',
'unused-imports/no-unused-imports': 'off',
},
})
4 changes: 1 addition & 3 deletions playground/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
"skipLibCheck": true
},
"vueCompilerOptions": {
"plugins": [
"../dist/volar.js"
]
"plugins": ["../dist/volar.js"]
}
}
22 changes: 6 additions & 16 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,18 @@
"compilerOptions": {
"target": "es2022",
"jsx": "preserve",
"lib": [
"es2022"
],
"lib": ["es2022"],
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": ["node", "vue/macros-global"],
"strict": true,
"noUnusedLocals": true,
"esModuleInterop": true,
"skipLibCheck": true,
"types": [
"node",
"vue/macros-global"
]
"skipLibCheck": true
},
"vueCompilerOptions": {
"plugins": [
"./dist/volar.js"
]
"plugins": ["./dist/volar.js"]
},
"include": [
"src",
"tests"
]
}
"include": ["src", "tests"]
}

0 comments on commit b9eafd1

Please sign in to comment.