- React Design Patterns and Best Practices(Second Edition)
- Carlos Santana Roldán
- 93字
- 2021-06-24 15:43:40
Configuring EditorConfig
EditorConfig is supported by a lot of editors. You can check whether your editor is supported or not on the official website, https://www.editorconfig.org.
You need to create a file called .editorconfig in your root directory – the configuration I use is this one:
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.html]
indent_size = 4
[*.css]
indent_size = 4
[*.md]
trim_trailing_whitespace = false
You can affect all the files with [], and specific files with [.extension].
推薦閱讀
- Modern JavaScript Web Development Cookbook
- C++黑客編程揭秘與防范
- Building E-commerce Sites with VirtueMart Cookbook
- 電子政務效益的經濟分析與評價
- Drush User’s Guide
- 互聯網安全的40個智慧洞見:2015年中國互聯網安全大會文集
- Yii Application Development Cookbook(Second Edition)
- 數字調制解調技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- 物聯網之霧:基于霧計算的智能硬件快速反應與安全控制
- Kong網關:入門、實戰與進階
- 通信十年:擁抱互聯網
- Learning Storm
- 網絡利他行為研究:積極心理學的視角
- 轉化:提升網站流量和轉化率的技巧
- Implementing NetScaler VPX?