Skip to content

Commit 8c0e864

Browse files
committed
fix(ci): ci configuration -v6
1 parent 7e8190f commit 8c0e864

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
9+
[*.{lua,vim}]
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.md]
14+
trim_trailing_whitespace = false

.luacheckrc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,15 @@ ignore = {
5353
"631", -- max_line_length
5454
"611", -- line contains only whitespace
5555
"612", -- inconsistent indentation
56+
"613", -- line has trailing whitespace
5657
}
5758

5859
exclude_files = {
5960
"tests/",
60-
}
61+
}
62+
63+
max_line_length = 100
64+
max_string_line_length = 100
65+
max_comment_line_length = 100
66+
max_code_line_length = 100
67+
max_cyclomatic_complexity = 20

0 commit comments

Comments
 (0)