mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-23 01:00:57 -05:00
Fix editorconfig-checker errors
This commit is contained in:
parent
45aa47465a
commit
7862654394
22 changed files with 79 additions and 69 deletions
|
@ -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
2
.gitattributes
vendored
|
@ -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
|
||||||
|
|
16
.github/ISSUE_TEMPLATE/ENHANCEMENT-REQUEST.md
vendored
16
.github/ISSUE_TEMPLATE/ENHANCEMENT-REQUEST.md
vendored
|
@ -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 -->
|
||||||
|
|
2
.github/linters/.cfnlintrc.yml
vendored
2
.github/linters/.cfnlintrc.yml
vendored
|
@ -1,2 +1,2 @@
|
||||||
include_checks:
|
include_checks:
|
||||||
- I
|
- I
|
||||||
|
|
10
.github/linters/.chktexrc
vendored
10
.github/linters/.chktexrc
vendored
|
@ -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:{}$
|
||||||
}
|
}
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
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)]}
|
{:linters
|
||||||
:refer-all {:exclude [clj-time.jdbc]}}}
|
{:unresolved-symbol
|
||||||
|
{:exclude [(compojure.api.sweet/defroutes)]}
|
||||||
|
:refer-all
|
||||||
|
{:exclude [clj-time.jdbc]}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
2
.github/linters/.htmlhintrc
vendored
2
.github/linters/.htmlhintrc
vendored
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
2
.github/linters/.perlcriticrc
vendored
2
.github/linters/.perlcriticrc
vendored
|
@ -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
|
||||||
|
|
19
.github/linters/.python-lint
vendored
19
.github/linters/.python-lint
vendored
|
@ -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)
|
||||||
|
|
6
.github/release-drafter.yml
vendored
6
.github/release-drafter.yml
vendored
|
@ -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
2
.vscode/launch.json
vendored
|
@ -13,4 +13,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:{}$
|
||||||
}
|
}
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
|
@ -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]}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
parameters:
|
parameters:
|
||||||
level: 5
|
level: 5
|
||||||
|
|
|
@ -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'
|
||||||
|
|
2
dependencies/Gemfile.lock
vendored
2
dependencies/Gemfile.lock
vendored
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue