File: .editorconfig

package info (click to toggle)
node-yarnpkg 4.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 24,752 kB
  • sloc: javascript: 38,953; ansic: 26,035; cpp: 7,247; sh: 2,829; makefile: 724; perl: 493
file content (28 lines) | stat: -rw-r--r-- 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# top-most EditorConfig file
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4

# tab indentation by default
[*.{js,jsx,ts,tsx}]
indent_style = tab
indent_size = 4

# space indentation for some specific files
[{package.json,lerna.json}]
indent_style = space
indent_size = 2

[*.{yml,yaml,md}]
indent_style = space
indent_size = 2

# Indent code blocks in the documentation with 4-size tabs
[docs/**/*.md]
indent_style = tab
indent_size = 4