Editorconfig: switch to module
This commit is contained in:
parent
6c9073cdc0
commit
4dc8728707
1 changed files with 17 additions and 17 deletions
|
|
@ -1,19 +1,19 @@
|
||||||
{
|
{
|
||||||
home.file.".editorconfig".text = ''
|
editorconfig = {
|
||||||
# editorconfig.org
|
enable = true;
|
||||||
|
settings = {
|
||||||
root = true
|
"*" = {
|
||||||
|
charset = "utf-8";
|
||||||
[*]
|
end_of_line = "lf";
|
||||||
charset = utf-8
|
indent_size = "2";
|
||||||
end_of_line = lf
|
# max_line_width = "120";
|
||||||
indent_size = 2
|
indent_style = "space";
|
||||||
# max_line_length = 120
|
trim_trailing_whitespace = "true";
|
||||||
indent_style = space
|
insert_final_newline = "true";
|
||||||
trim_trailing_whitespace = true
|
};
|
||||||
insert_final_newline = true
|
"*.py" = {
|
||||||
|
indent_size = 4;
|
||||||
[*.py]
|
};
|
||||||
indent_size = 4
|
};
|
||||||
'';
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue