Config Files · 1 file

Sample .editorconfig File

EditorConfig keeps indentation and line endings consistent across editors. Our sample is realistic and valid for its tool, with fake hosts and secrets.

.editorconfig · 320 B

.editorconfig

An EditorConfig file with a root declaration, defaults and per-language overrides for indentation and line endings. All hosts, keys and secrets are fake.

CC0 · free for any use · Verified by an independent tool · Report a problem

.editorconfig — first linesINI
# Sample .editorconfig — samplefiles.com
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.py]
indent_size = 4

[Makefile]
indent_style = tab

[*.md]
trim_trailing_whitespace = false

[*.{bat,cmd}]
end_of_line = crlf

File details

Size
320 B (320 bytes)
MIME type
text/plain
SHA-256
63ae6adc31dc673fb6510930c8e9e6071c5de2a44bd720439dac36fd94e590c7
MD5
01c2af9d9de2265585c5b144f38b555b

Download from the command line

curl -L -o .editorconfig https://files.samplefiles.com/config/editorconfig/.editorconfig

Or check the download in your browser with the checksum calculator.