mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-02-13 14:15:42 +01:00
- Wrap config in 'config' key for markdownlint-cli2 - Use MD013 rule name instead of 'line-length' alias - Disable MD013 line-length checks - Add allowed languages: sh, python, csv, tree - Fix broken link reference in TODO.md - All markdown linting now passes (37 errors -> 0)
49 lines
950 B
INI
49 lines
950 B
INI
# EditorConfig is a standardized configuration file that helps define
|
|
# consistent coding styles across different editors and IDEs
|
|
# https://editorconfig.org/
|
|
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Python files
|
|
[*.py]
|
|
indent_size = 4
|
|
|
|
# HTML and Django/Jinja2 template files
|
|
[*.{html,htm}]
|
|
indent_size = 2
|
|
|
|
# Allow prettier to format Django/Jinja templates properly
|
|
# The following comment options can be used in individual files if needed:
|
|
# <!-- prettier-ignore -->
|
|
# {# prettier-ignore #}
|
|
|
|
# CSS, JavaScript, and JSON files
|
|
[*.{css,scss,js,json}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Markdown files
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
indent_size = 4
|
|
|
|
# YAML files
|
|
[*.{yml,yaml}]
|
|
indent_size = 2
|
|
|
|
# Makefile (requires tabs)
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
# Docker-related files
|
|
[{Dockerfile,docker-compose.yml}]
|
|
indent_size = 2
|