mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
62 lines
1.5 KiB
INI
62 lines
1.5 KiB
INI
# ##############################################################################
|
|
# This file is part of Interdiode #
|
|
# #
|
|
# Copyright (C) 2020 InterDiode <contact@mail.interdiode.fr> #
|
|
# All Rights Reserved #
|
|
# #
|
|
# ##############################################################################
|
|
#
|
|
# http://editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 4
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
|
|
# Docstrings and comments use max_line_length = 79
|
|
[*.py]
|
|
max_line_length = 120
|
|
quote_type = single
|
|
|
|
# Use 2 spaces for the HTML files
|
|
[*.html]
|
|
indent_size = 2
|
|
|
|
# The JSON files contain newlines inconsistently
|
|
[*.json]
|
|
indent_size = 2
|
|
insert_final_newline = ignore
|
|
|
|
[**/static/**/vendor/**]
|
|
indent_style = unset
|
|
indent_size = ignore
|
|
|
|
[*.js]
|
|
indent_size = 2
|
|
|
|
[*.ts]
|
|
indent_size = 2
|
|
|
|
# Minified JavaScript files shouldn't be changed
|
|
[**.min.js]
|
|
indent_style = unset
|
|
insert_final_newline = ignore
|
|
|
|
# Minified Stylesheet files shouldn't be changed
|
|
[**.min.css]
|
|
indent_style = unset
|
|
insert_final_newline = ignore
|
|
|
|
# Minified Stylesheet files shouldn't be changed
|
|
[**.scss]
|
|
indent_size = 2
|
|
|
|
# Makefiles always use tabs for indentation
|
|
[Makefile]
|
|
indent_style = tab
|