5 Star 7 Fork 4

OpenTiny/ng

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.prettierrc.js 567 Bytes
一键复制 编辑 原始数据 按行查看 历史
h-ivy 提交于 2023-04-06 10:18 +08:00 . init project
module.exports = {
tabWidth: 2, // tab等2个空格
printWidth: 140,
useTabs: false, // 用空格缩进行
semi: true, // 行尾使用分号
singleQuote: true, // 字符串使用单引号
quoteProps: 'as-needed', // 仅在需要时在对象属性添加引号
trailingComma: 'none', // 在对象或数组最后一个元素后面是否加逗号(在ES5中加尾逗号)
bracketSpacing: true, // 在对象,数组括号与文字之间加空格 "{ foo: bar }"
endOfLine: 'auto' // 结尾是 lf-\n cr-\r lfcr-\n\r auto-保持现有的行尾设置
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opentiny/ng.git
git@gitee.com:opentiny/ng.git
opentiny
ng
ng
main

搜索帮助