feat: 项目初始化、完成基本流式传输和语音识别功能
This commit is contained in:
39
web/eslint.config.js
Normal file
39
web/eslint.config.js
Normal file
@@ -0,0 +1,39 @@
|
||||
import antfu from "@antfu/eslint-config"
|
||||
|
||||
export default antfu(
|
||||
{
|
||||
formatters: {
|
||||
/**
|
||||
* Format CSS, LESS, SCSS files, also the `<style>` blocks in Vue
|
||||
* By default uses Prettier
|
||||
*/
|
||||
css: true,
|
||||
/**
|
||||
* Format HTML files
|
||||
* By default uses Prettier
|
||||
*/
|
||||
html: true,
|
||||
/**
|
||||
* Format Markdown files
|
||||
* Supports Prettier and dprint
|
||||
* By default uses Prettier
|
||||
*/
|
||||
markdown: "prettier",
|
||||
},
|
||||
stylistic: {
|
||||
indent: 2,
|
||||
quotes: "double",
|
||||
semi: true,
|
||||
},
|
||||
vue: true,
|
||||
ignores: ["node_modules", "dist"],
|
||||
rules: {
|
||||
"vue/html-self-closing": "off",
|
||||
"antfu/top-level-function": "off",
|
||||
"ts/no-unsafe-function-type": "off",
|
||||
"no-console": "off",
|
||||
"unused-imports/no-unused-vars": "warn",
|
||||
},
|
||||
},
|
||||
|
||||
)
|
||||
Reference in New Issue
Block a user