Fix editorconfig-checker errors

This commit is contained in:
Marco Ferrari 2020-11-05 23:21:41 +01:00
parent 45aa47465a
commit 7862654394
22 changed files with 79 additions and 69 deletions

View file

@ -1,2 +1,7 @@
{:linters {:unresolved-symbol {:exclude [(compojure.api.sweet/defroutes)]} {:linters
:refer-all {:exclude [clj-time.jdbc]}}} {:unresolved-symbol
{:exclude [(compojure.api.sweet/defroutes)]}
:refer-all
{:exclude [clj-time.jdbc]}
}
}

View file

@ -418,8 +418,7 @@ max-module-lines=1000
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ). # `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines. # `empty-line` allows space-only lines.
no-space-check=trailing-comma, no-space-check=trailing-comma,dict-separator
dict-separator
# Allow the body of a class to be on the same line as the declaration if body # Allow the body of a class to be on the same line as the declaration if body
# contains single statement. # contains single statement.

View file

@ -1,2 +1,7 @@
{:linters {:unresolved-symbol {:exclude [(compojure.api.sweet/defroutes)]} {:linters
:refer-all {:exclude [clj-time.jdbc]}}} {:unresolved-symbol
{:exclude [(compojure.api.sweet/defroutes)]}
:refer-all
{:exclude [clj-time.jdbc]}
}
}

View file

@ -419,8 +419,7 @@ max-module-lines=1000
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ). # `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines. # `empty-line` allows space-only lines.
no-space-check=trailing-comma, no-space-check=trailing-comma,dict-separator
dict-separator
# Allow the body of a class to be on the same line as the declaration if body # Allow the body of a class to be on the same line as the declaration if body
# contains single statement. # contains single statement.

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# editorconfig-checker-disable
cat << EOF cat << EOF
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
@ -20,3 +21,4 @@ cat << EOF
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
EOF EOF
# editorconfig-checker-enable