Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vitedjs/editorconfig
Recommended EditorConfig for Vited projects
https://github.com/vitedjs/editorconfig
Last synced: about 1 month ago
JSON representation
Recommended EditorConfig for Vited projects
- Host: GitHub
- URL: https://github.com/vitedjs/editorconfig
- Owner: vitedjs
- License: mit
- Created: 2023-12-10T09:27:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-10T11:37:14.000Z (about 1 year ago)
- Last Synced: 2024-12-12T18:12:02.624Z (about 2 months ago)
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @vited/editorconfig
Recommended EditorConfig for Vited projects
```ini
root = true[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
quote_type = single
max_line_length = 100
```If you created your project with vited, this editorconfig should already be included. If not, copy
above content into your `.editorconfig` file.## Single quote
By using single quotes, you press less `Shift` key. It is faster ans healther for your hands.
## Print width 100
Tradional 80-character print width is too narrow for modern screen. Considering the smallest common
screen usage:- 1920x1080 screen with 150% scale, actual width **1280px**
- 2560x1440 screen with splitting, actual with **1280px**If you use VS Code, with side panel, line numbers, scroll mini-map, your actual code area is about
**750px**. If you use 14px font size (default), you can see about **107** characters. So we think
**100** should be a good option for most developers.