1 Star 0 Fork 49

zqm2016 / mfish-nocode-view

forked from mfish / mfish-nocode-view 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tsconfig.json 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
mfish 提交于 2023-06-15 16:48 . feat: 按照prettier格式化代码
{
"compilerOptions": {
// 指定ECMAScript目标版本,esnext为最新版本
"target": "esnext",
// 指定生成哪个模块系统代码,esnext为最新版本
"module": "esnext",
// 决定如何处理模块。
"moduleResolution": "node",
// 启用所有严格类型检查选项。
"strict": true,
"noLib": false,
// 禁止对同一个文件的不一致的引用。
"forceConsistentCasingInFileNames": true,
// 允许从没有设置默认导出的模块中默认导入。这并不影响代码的输出,仅为了类型检查。
"allowSyntheticDefaultImports": true,
// 禁用函数参数双向协变检查。
"strictFunctionTypes": false,
// .tsx文件里支持JSX
"jsx": "preserve",
// 解析非相对模块名的基准目录。查看 模块解析文档了解详情。
"baseUrl": ".",
// 允许编译javascript文件。
"allowJs": true,
// 生成相应的 .map文件。
"sourceMap": true,
"esModuleInterop": true,
"resolveJsonModule": true,
// 若有未使用的局部变量则抛错。
"noUnusedLocals": true,
// 若有未使用的参数则抛错。
"noUnusedParameters": true,
// 启用实验性的ES装饰器。
"experimentalDecorators": true,
// 编译过程中需要引入的库文件的列表。
"lib": [
"dom",
"esnext"
],
// 在表达式和声明上有隐含的 any类型时报错。
"noImplicitAny": false,
// 忽略所有的声明文件( *.d.ts)的类型检查。
"skipLibCheck": true,
// 要包含的类型声明文件名列表。
"types": [
"vite/client"
],
"removeComments": true,
// 模块名到基于 baseUrl的路径映射的列表。查看模块解析文档了解详情。
"paths": {
"/@/*": [
"src/*"
],
"/#/*": [
"types/*"
]
}
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"types/**/*.d.ts",
"types/**/*.ts",
"build/**/*.ts",
"build/**/*.d.ts",
"mock/**/*.ts",
"vite.config.ts"
],
"exclude": [
"node_modules",
"dist",
"**/*.js"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/zqm2016/mfish-nocode-view.git
git@gitee.com:zqm2016/mfish-nocode-view.git
zqm2016
mfish-nocode-view
mfish-nocode-view
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891