Преглед на файлове

style: 统一前端编码缩进,移除vscode配置文件

zhangyuhan преди 3 години
родител
ревизия
5acb50a444
променени са 2 файла, в които са добавени 23 реда и са изтрити 3 реда
  1. 23 0
      .editorconfig
  2. 0 3
      .vscode/settings.json

+ 23 - 0
.editorconfig

@@ -0,0 +1,23 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = space
+insert_final_newline = true
+max_line_length = 120
+trim_trailing_whitespace = true
+
+[*.scss]
+indent_size = 2
+
+[{*.html,*.js,*.css}]
+indent_size = 2
+tab_width = 2
+
+[{*.bash,*.sh,*.zsh}]
+indent_size = 2
+tab_width = 2
+
+[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
+indent_size = 2

+ 0 - 3
.vscode/settings.json

@@ -1,3 +0,0 @@
-{
-  "liveServer.settings.port": 5501
-}