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,12 +1,12 @@
{ {
"name": "SUPER-LINTER", "name": "SUPER-LINTER",
"context": "..", "context": "..",
"dockerFile": "..//Dockerfile", "dockerFile": "..//Dockerfile",
"settings": { "settings": {
"terminal.integrated.shell.linux": "/bin/bash" "terminal.integrated.shell.linux": "/bin/bash"
}, },
"extensions": [ "extensions": [
"github.vscode-pull-request-github", "github.vscode-pull-request-github",
"rogalmic.bash-debug" "rogalmic.bash-debug"
] ]
} }

2
.gitattributes vendored
View file

@ -1,3 +1,3 @@
* text=auto eol=lf * text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf *.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf *.{bat,[bB][aA][tT]} text eol=crlf

View file

@ -14,18 +14,18 @@ about: Used for requesting enhancements to the GitHub Super-Linter
**Your impression of priority / how important this request is** **Your impression of priority / how important this request is**
- [ ] Critical: Can't use the tool without it. - [ ] Critical: Can't use the tool without it.
- [ ] Business Critical: Immediate opportunity to win business with this feature - [ ] Business Critical: Immediate opportunity to win business with this feature
- [ ] Important: Will significantly enhance the overall utility of the demo - [ ] Important: Will significantly enhance the overall utility of the demo
- [ ] Nice to have: self-explanatory - [ ] Nice to have: self-explanatory
**Business case or other information justifying priority** **Business case or other information justifying priority**
**Agreed upon priority** **Agreed upon priority**
- [ ] Critical: Can't use the tool without it. - [ ] Critical: Can't use the tool without it.
- [ ] Business Critical: Immediate opportunity to win business with this feature - [ ] Business Critical: Immediate opportunity to win business with this feature
- [ ] Important: Will significantly enhance the overall utility of the demo - [ ] Important: Will significantly enhance the overall utility of the demo
- [ ] Nice to have: self-explanatory - [ ] Nice to have: self-explanatory
**Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc) **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
<!-- markdownlint-restore --> <!-- markdownlint-restore -->

View file

@ -1,2 +1,2 @@
include_checks: include_checks:
- I - I

View file

@ -175,7 +175,7 @@ TabSize = 8
CmdLine CmdLine
{ {
-v2 -v2
} }
##################################################################### #####################################################################
@ -756,9 +756,9 @@ MathRoman
Primitives Primitives
{ {
\above \advance \catcode \chardef \closein \closeout \copy \count \above \advance \catcode \chardef \closein \closeout \copy \count
\countdef \cr \crcr \csname \delcode \dimendef \dimen \divide \countdef \cr \crcr \csname \delcode \dimendef \dimen \divide
\expandafter \font \hskip \vskip \openout \expandafter \font \hskip \vskip \openout
} }
##################################################################### #####################################################################
@ -771,7 +771,7 @@ Primitives
NoCharNext NoCharNext
{ {
\left:{}$ \right:{}$ \left:{}$ \right:{}$
} }
##################################################################### #####################################################################

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

@ -22,4 +22,4 @@
"href-abs-or-rel": false, "href-abs-or-rel": false,
"attr-unsafe-chars": true, "attr-unsafe-chars": true,
"head-script-disabled": true "head-script-disabled": true
} }

View file

@ -1,2 +1,2 @@
severity = 1 severity = 1
verbose = %f:%l:%c [%s %p] %m near '%r'\n verbose = %f:%l:%c [%s %p] %m near '%r'\n

View file

@ -323,11 +323,11 @@ function-naming-style=snake_case
# Good variable names which should always be accepted, separated by a comma # Good variable names which should always be accepted, separated by a comma
good-names=i, good-names=i,
j, j,
k, k,
ex, ex,
Run, Run,
_ _
# Include a hint for the correct naming format with invalid-name # Include a hint for the correct naming format with invalid-name
include-naming-hint=no include-naming-hint=no
@ -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.
@ -490,9 +489,9 @@ analyse-fallback-blocks=no
# Deprecated modules which should not be used, separated by a comma # Deprecated modules which should not be used, separated by a comma
deprecated-modules=regsub, deprecated-modules=regsub,
TERMIOS, TERMIOS,
Bastion, Bastion,
rexec rexec
# Create a graph of external dependencies in the given file (report RP0402 must # Create a graph of external dependencies in the given file (report RP0402 must
# not be disabled) # not be disabled)

View file

@ -3,9 +3,9 @@ tag-template: 'v$RESOLVED_VERSION'
template: | template: |
# Changelog # Changelog
$CHANGES $CHANGES
See details of [all code changes](https://github.com/github/super-linter/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release See details of [all code changes](https://github.com/github/super-linter/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release
categories: categories:
- title: '🚀 Features' - title: '🚀 Features'
labels: labels:

2
.vscode/launch.json vendored
View file

@ -13,4 +13,4 @@
} }
} }
] ]
} }

View file

@ -23,13 +23,13 @@ include:
Examples of unacceptable behavior by participants include: Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or * The use of sexualized language or imagery and unwelcome sexual attention or
advances advances
* Trolling, insulting/derogatory comments, and personal or political attacks * Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment * Public or private harassment
* Publishing others' private information, such as a physical or electronic * Publishing others' private information, such as a physical or electronic
address, without explicit permission address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a * Other conduct which could reasonably be considered inappropriate in a
professional setting professional setting
## Our Responsibilities ## Our Responsibilities

View file

@ -175,7 +175,7 @@ TabSize = 8
CmdLine CmdLine
{ {
-v2 -v2
} }
##################################################################### #####################################################################
@ -756,9 +756,9 @@ MathRoman
Primitives Primitives
{ {
\above \advance \catcode \chardef \closein \closeout \copy \count \above \advance \catcode \chardef \closein \closeout \copy \count
\countdef \cr \crcr \csname \delcode \dimendef \dimen \divide \countdef \cr \crcr \csname \delcode \dimendef \dimen \divide
\expandafter \font \hskip \vskip \openout \expandafter \font \hskip \vskip \openout
} }
##################################################################### #####################################################################
@ -771,7 +771,7 @@ Primitives
NoCharNext NoCharNext
{ {
\left:{}$ \right:{}$ \left:{}$ \right:{}$
} }
##################################################################### #####################################################################

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

@ -22,4 +22,4 @@
"href-abs-or-rel": false, "href-abs-or-rel": false,
"attr-unsafe-chars": true, "attr-unsafe-chars": true,
"head-script-disabled": true "head-script-disabled": true
} }

View file

@ -1,2 +1,2 @@
severity = 1 severity = 1
verbose = %f:%l:%c [%s %p] %m near '%r'\n verbose = %f:%l:%c [%s %p] %m near '%r'\n

View file

@ -324,11 +324,11 @@ function-naming-style=snake_case
# Good variable names which should always be accepted, separated by a comma # Good variable names which should always be accepted, separated by a comma
good-names=i, good-names=i,
j, j,
k, k,
ex, ex,
Run, Run,
_ _
# Include a hint for the correct naming format with invalid-name # Include a hint for the correct naming format with invalid-name
include-naming-hint=no include-naming-hint=no
@ -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.
@ -491,9 +490,9 @@ analyse-fallback-blocks=no
# Deprecated modules which should not be used, separated by a comma # Deprecated modules which should not be used, separated by a comma
deprecated-modules=regsub, deprecated-modules=regsub,
TERMIOS, TERMIOS,
Bastion, Bastion,
rexec rexec
# Create a graph of external dependencies in the given file (report RP0402 must # Create a graph of external dependencies in the given file (report RP0402 must
# not be disabled) # not be disabled)

View file

@ -1,2 +1,2 @@
parameters: parameters:
level: 5 level: 5

View file

@ -5,5 +5,5 @@ runs:
using: 'docker' using: 'docker'
image: 'docker://ghcr.io/github/super-linter:v3' image: 'docker://ghcr.io/github/super-linter:v3'
branding: branding:
icon: 'check-square' icon: 'check-square'
color: 'white' color: 'white'

View file

@ -57,4 +57,4 @@ DEPENDENCIES
rubocop-rspec (~> 1.41.0) rubocop-rspec (~> 1.41.0)
BUNDLED WITH BUNDLED WITH
2.1.4 2.1.4

View file

@ -6,7 +6,7 @@ You can tell Super-Linter where your rules files are located with the ``LINTER_R
## Here is an example ## Here is an example
Below is an example of how to configure the ``env`` section of Super-Linter's ``linter.yml`` to lint JavaScript and CSS code using ``eslint`` and ``stylelint`` with your own ``.eslintrc.json`` and ``.stylelintrc.json`` rules files that are located in the root directory of your repository. Below is an example of how to configure the ``env`` section of Super-Linter's ``linter.yml`` to lint JavaScript and CSS code using ``eslint`` and ``stylelint`` with your own ``.eslintrc.json`` and ``.stylelintrc.json`` rules files that are located in the root directory of your repository.
``` yaml ``` yaml
env: env:

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