pwnagotchi/.editorconfig
trim_trailing_whitespace=true // Auto-trims trailing whitespace is not an acceptable value. strconv.ParseBool: parsing "true // Auto-trims trailing whitespace": invalid syntax insert_final_newline=true // Auto-adds a blank newline to the end of a file is not an acceptable value. strconv.ParseBool: parsing "true // Auto-adds a blank newline to the end of a file": invalid syntax
Łaurent ʘ❢Ŧ Ŧough d41e5c1152
Create .editorconfig
Reasonably tame .editorconfig for help with editting the .py & especially the YAML files
2019-11-09 14:18:03 -08:00

23 lines
709 B
INI

# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf // Helps keep Windows, Mac, Linux on the same page since they handle end of line differently
indent_style = tab // Converts spaces to tabs
indent_size = 4 // 4 spaces per tab
insert_final_newline = true // Auto-adds a blank newline to the end of a file
trim_trailing_whitespace = true // Auto-trims trailing whitespace
# Docstrings and comments use max_line_length = 79
[*.py]
max_line_length = 119
indent_style = tab
indent_size = 4
# Matches the exact files either package.json or .travis.yml
[{*.yml,*.yaml,config.yml,defaults.yml}]
indent_style = space
indent_size = 2