🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@pit-frontend-framework/prettier-config

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pit-frontend-framework/prettier-config - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+3
-2
index.js

@@ -7,3 +7,3 @@ const config = {

// 单行最大宽度 100 字符,超出时自动换行。
printWidth: 100,
printWidth: 80,
// 缩进宽度为 2 个空格。

@@ -18,7 +18,8 @@ tabWidth: 2,

// 统一输出 LF,避免跨平台换行差异。
endOfLine: 'lf',
endOfLine: 'auto',
// Vue 的 script/style 标签内容不额外增加缩进。
vueIndentScriptAndStyle: false,
bracketSameLine: true,
};
export default config;
+1
-1
{
"name": "@pit-frontend-framework/prettier-config",
"version": "1.0.1",
"version": "1.0.2",
"description": "湖南创智艾泰克科技有限公司-前端组prettier配置",

@@ -5,0 +5,0 @@ "author": "湖南创智艾泰克科技有限公司-前端组",