Skip to content

Commit

Permalink
style: 解决 IDE 报 Delete eslint(prettier/prettier) 警告的问题
Browse files Browse the repository at this point in the history
endOfLine: 'auto',自动检测行尾符,根据当前操作系统自动选择行尾符。例如:Windows 上的行尾符是 CRLF(\r\n),而 Unix 和 Linux 上的行尾符是 LF(\n)。
  • Loading branch information
Charles7c committed Jun 29, 2023
1 parent 39b0b9a commit 8743ed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions continew-admin-ui/.prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ module.exports = {
quoteProps: 'consistent',
htmlWhitespaceSensitivity: 'strict',
vueIndentScriptAndStyle: true,
endOfLine: 'auto',
};

0 comments on commit 8743ed1

Please sign in to comment.