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
# 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 = crlfFile details
Download from the command line
curl -L -o .editorconfig https://files.samplefiles.com/config/editorconfig/.editorconfigwget https://files.samplefiles.com/config/editorconfig/.editorconfighttps://files.samplefiles.com/config/editorconfig/.editorconfigprintf '%s %s\n' 63ae6adc31dc673fb6510930c8e9e6071c5de2a44bd720439dac36fd94e590c7 .editorconfig | shasum -a 256 -cOr check the download in your browser with the checksum calculator.