moviewyrm/.editorconfig
Fabien Basmaison b2b5ee5a22 [lint] Tweak editorconfig and frontend lint:
- Ignore computer generated files when linting.
- Include .mo files for consistency.
- Use multiline yaml syntax for `run` commands.
2021-04-17 12:39:57 +02:00

41 lines
773 B
INI

# @see https://editorconfig.org/
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 100
# C-style doc comments
block_comment_start = /*
block_comment = *
block_comment_end = */
[{bw-dev,fr-dev,LICENSE}]
max_line_length = off
[*.{csv,json,html,md,mo,po,py,svg,tsv}]
max_line_length = off
# ` ` at the end of a line is a line-break in markdown
[*.{md,markdown}]
trim_trailing_whitespace = false
[*.{yml,yaml}]
indent_size = 2
max_line_length = off
# Computer generated files
[{package.json,*.lock}]
indent_size = unset
indent_style = unset
max_line_length = unset
[*.mo]
insert_final_newline = unset