mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-23 06:31:02 -05:00
Fix editorconfig-checker errors
This commit is contained in:
parent
45aa47465a
commit
7862654394
22 changed files with 79 additions and 69 deletions
9
.github/linters/.clj-kondo/config.edn
vendored
9
.github/linters/.clj-kondo/config.edn
vendored
|
@ -1,2 +1,7 @@
|
|||
{:linters {:unresolved-symbol {:exclude [(compojure.api.sweet/defroutes)]}
|
||||
:refer-all {:exclude [clj-time.jdbc]}}}
|
||||
{:linters
|
||||
{:unresolved-symbol
|
||||
{:exclude [(compojure.api.sweet/defroutes)]}
|
||||
:refer-all
|
||||
{:exclude [clj-time.jdbc]}
|
||||
}
|
||||
}
|
||||
|
|
3
.github/linters/.python-lint
vendored
3
.github/linters/.python-lint
vendored
|
@ -418,8 +418,7 @@ max-module-lines=1000
|
|||
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
|
||||
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
|
||||
# `empty-line` allows space-only lines.
|
||||
no-space-check=trailing-comma,
|
||||
dict-separator
|
||||
no-space-check=trailing-comma,dict-separator
|
||||
|
||||
# Allow the body of a class to be on the same line as the declaration if body
|
||||
# contains single statement.
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
{:linters {:unresolved-symbol {:exclude [(compojure.api.sweet/defroutes)]}
|
||||
:refer-all {:exclude [clj-time.jdbc]}}}
|
||||
{:linters
|
||||
{:unresolved-symbol
|
||||
{:exclude [(compojure.api.sweet/defroutes)]}
|
||||
:refer-all
|
||||
{:exclude [clj-time.jdbc]}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -419,8 +419,7 @@ max-module-lines=1000
|
|||
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
|
||||
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
|
||||
# `empty-line` allows space-only lines.
|
||||
no-space-check=trailing-comma,
|
||||
dict-separator
|
||||
no-space-check=trailing-comma,dict-separator
|
||||
|
||||
# Allow the body of a class to be on the same line as the declaration if body
|
||||
# contains single statement.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# editorconfig-checker-disable
|
||||
cat << EOF
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -20,3 +21,4 @@ cat << EOF
|
|||
|
||||
--------------------------------------------------------------------------------
|
||||
EOF
|
||||
# editorconfig-checker-enable
|
||||
|
|
Loading…
Reference in a new issue