Переглянути джерело

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
-}