Skip to content

Commit 5062093

Browse files
committed
chore: update .editorconfig
1 parent f03b83c commit 5062093

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
# Editor configuration, see http://editorconfig.org
2+
13
root = true
24

35
[*]
6+
charset = utf-8
7+
indent_style = space
48
indent_size = 2
59
end_of_line = lf
10+
trim_trailing_whitespace = true
611
insert_final_newline = true

.gitattributes

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
1-
* text=auto
2-
*.* text eol=lf
1+
"*.js" eol=lf
2+
"*.ts" eol=lf
3+
"*.jsx" eol=lf
4+
"*.tsx" eol=lf
5+
"*.cjs" eol=lf
6+
"*.cts" eol=lf
7+
"*.mjs" eol=lf
8+
"*.mts" eol=lf
9+
"*.html" eol=lf
10+
"*.css" eol=lf
11+
"*.vue" eol=lf
12+
"*.json" eol=lf
13+
"*.less" eol=lf
14+
"*.scss" eol=lf
15+
"*.sass" eol=lf
16+
"*.styl" eol=lf
17+
"*.svelte" eol=lf
18+
"*.md" eol=lf
19+
"*.yml" eol=lf
20+
"*.astro" eol=lf
21+
"*.mdx" eol=lf

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
- ✨ Single quotes, no semi
1010
- 🛠️ Auto fix for formatting
1111
- 🎯 Designed to work with TypeScript, Vue out-of-box
12-
- 🔍 Lints also for json, yaml, markdown
12+
- 🔍 Lints also for json
1313
- 🧩 Sorted imports, dangling commas
1414
- 🏆 Reasonable defaults, best practices, only one-line of config
1515
- 🚀 [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), compose easily!
16+
- 🎨 Use ESlint and Prettier to format HTML, CSS, LESS, SCSS, YAML, TOML, Markdown.
1617

1718
## Usage
1819

0 commit comments

Comments
 (0)