1 Star 0 Fork 0

Mankeung / mk-vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.prettierrc.js 765 Bytes
一键复制 编辑 原始数据 按行查看 历史
mankueng 提交于 2022-10-06 23:45 . feat: :tada:v1.0.0
module.exports = {
printWidth: 180, //一行的字符数,如果超过会进行换行,默认为80
tabWidth: 4, //一个tab代表几个空格数,默认为80
useTabs: true, //是否使用tab进行缩进,默认为false,表示用空格进行缩减
singleQuote: true, //字符串是否使用单引号,默认为false,使用双引号
semi: false, //行位是否使用分号,默认为true
vueIndentScriptAndStyle: true,
trailingComma: 'none', //是否使用尾逗号,有三个可选值"<none|es5|all>"
bracketSpacing: true, //对象大括号直接是否有空格,默认为true,效果:{ foo: bar }
jsxSingleQuote: true, // jsx语法中使用单引号
htmlWhitespaceSensitivity: 'strict',
endOfLine: 'auto'
}
TypeScript
1
https://gitee.com/mankeung/mk-vue.git
git@gitee.com:mankeung/mk-vue.git
mankeung
mk-vue
mk-vue
master

搜索帮助