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
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "SUPER-LINTER",
|
||||
"context": "..",
|
||||
"dockerFile": "..//Dockerfile",
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash"
|
||||
},
|
||||
"extensions": [
|
||||
"github.vscode-pull-request-github",
|
||||
"rogalmic.bash-debug"
|
||||
]
|
||||
"name": "SUPER-LINTER",
|
||||
"context": "..",
|
||||
"dockerFile": "..//Dockerfile",
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash"
|
||||
},
|
||||
"extensions": [
|
||||
"github.vscode-pull-request-github",
|
||||
"rogalmic.bash-debug"
|
||||
]
|
||||
}
|
||||
|
|
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1,3 +1,3 @@
|
|||
* text=auto eol=lf
|
||||
*.{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**
|
||||
|
||||
- [ ] Critical: Can't use the tool without it.
|
||||
- [ ] Business Critical: Immediate opportunity to win business with this feature
|
||||
- [ ] Important: Will significantly enhance the overall utility of the demo
|
||||
- [ ] Nice to have: self-explanatory
|
||||
- [ ] Critical: Can't use the tool without it.
|
||||
- [ ] Business Critical: Immediate opportunity to win business with this feature
|
||||
- [ ] Important: Will significantly enhance the overall utility of the demo
|
||||
- [ ] Nice to have: self-explanatory
|
||||
|
||||
**Business case or other information justifying priority**
|
||||
|
||||
**Agreed upon priority**
|
||||
- [ ] Critical: Can't use the tool without it.
|
||||
- [ ] Business Critical: Immediate opportunity to win business with this feature
|
||||
- [ ] Important: Will significantly enhance the overall utility of the demo
|
||||
- [ ] Nice to have: self-explanatory
|
||||
- [ ] Critical: Can't use the tool without it.
|
||||
- [ ] Business Critical: Immediate opportunity to win business with this feature
|
||||
- [ ] Important: Will significantly enhance the overall utility of the demo
|
||||
- [ ] 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)
|
||||
<!-- markdownlint-restore -->
|
||||
|
|
2
.github/linters/.cfnlintrc.yml
vendored
2
.github/linters/.cfnlintrc.yml
vendored
|
@ -1,2 +1,2 @@
|
|||
include_checks:
|
||||
- I
|
||||
- I
|
||||
|
|
10
.github/linters/.chktexrc
vendored
10
.github/linters/.chktexrc
vendored
|
@ -175,7 +175,7 @@ TabSize = 8
|
|||
|
||||
CmdLine
|
||||
{
|
||||
-v2
|
||||
-v2
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
|
@ -756,9 +756,9 @@ MathRoman
|
|||
|
||||
Primitives
|
||||
{
|
||||
\above \advance \catcode \chardef \closein \closeout \copy \count
|
||||
\countdef \cr \crcr \csname \delcode \dimendef \dimen \divide
|
||||
\expandafter \font \hskip \vskip \openout
|
||||
\above \advance \catcode \chardef \closein \closeout \copy \count
|
||||
\countdef \cr \crcr \csname \delcode \dimendef \dimen \divide
|
||||
\expandafter \font \hskip \vskip \openout
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
|
@ -771,7 +771,7 @@ Primitives
|
|||
|
||||
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)]}
|
||||
:refer-all {:exclude [clj-time.jdbc]}}}
|
||||
{:linters
|
||||
{: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,
|
||||
"attr-unsafe-chars": true,
|
||||
"head-script-disabled": true
|
||||
}
|
||||
}
|
||||
|
|
2
.github/linters/.perlcriticrc
vendored
2
.github/linters/.perlcriticrc
vendored
|
@ -1,2 +1,2 @@
|
|||
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-names=i,
|
||||
j,
|
||||
k,
|
||||
ex,
|
||||
Run,
|
||||
_
|
||||
j,
|
||||
k,
|
||||
ex,
|
||||
Run,
|
||||
_
|
||||
|
||||
# Include a hint for the correct naming format with invalid-name
|
||||
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}.
|
||||
# `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.
|
||||
|
@ -490,9 +489,9 @@ analyse-fallback-blocks=no
|
|||
|
||||
# Deprecated modules which should not be used, separated by a comma
|
||||
deprecated-modules=regsub,
|
||||
TERMIOS,
|
||||
Bastion,
|
||||
rexec
|
||||
TERMIOS,
|
||||
Bastion,
|
||||
rexec
|
||||
|
||||
# Create a graph of external dependencies in the given file (report RP0402 must
|
||||
# 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: |
|
||||
# Changelog
|
||||
$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:
|
||||
- title: '🚀 Features'
|
||||
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:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* 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
|
||||
professional setting
|
||||
professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ TabSize = 8
|
|||
|
||||
CmdLine
|
||||
{
|
||||
-v2
|
||||
-v2
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
|
@ -756,9 +756,9 @@ MathRoman
|
|||
|
||||
Primitives
|
||||
{
|
||||
\above \advance \catcode \chardef \closein \closeout \copy \count
|
||||
\countdef \cr \crcr \csname \delcode \dimendef \dimen \divide
|
||||
\expandafter \font \hskip \vskip \openout
|
||||
\above \advance \catcode \chardef \closein \closeout \copy \count
|
||||
\countdef \cr \crcr \csname \delcode \dimendef \dimen \divide
|
||||
\expandafter \font \hskip \vskip \openout
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
|
@ -771,7 +771,7 @@ Primitives
|
|||
|
||||
NoCharNext
|
||||
{
|
||||
\left:{}$ \right:{}$
|
||||
\left:{}$ \right:{}$
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
|
|
|
@ -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]}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,4 +22,4 @@
|
|||
"href-abs-or-rel": false,
|
||||
"attr-unsafe-chars": true,
|
||||
"head-script-disabled": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
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-names=i,
|
||||
j,
|
||||
k,
|
||||
ex,
|
||||
Run,
|
||||
_
|
||||
j,
|
||||
k,
|
||||
ex,
|
||||
Run,
|
||||
_
|
||||
|
||||
# Include a hint for the correct naming format with invalid-name
|
||||
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}.
|
||||
# `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.
|
||||
|
@ -491,9 +490,9 @@ analyse-fallback-blocks=no
|
|||
|
||||
# Deprecated modules which should not be used, separated by a comma
|
||||
deprecated-modules=regsub,
|
||||
TERMIOS,
|
||||
Bastion,
|
||||
rexec
|
||||
TERMIOS,
|
||||
Bastion,
|
||||
rexec
|
||||
|
||||
# Create a graph of external dependencies in the given file (report RP0402 must
|
||||
# not be disabled)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
parameters:
|
||||
level: 5
|
||||
level: 5
|
||||
|
|
|
@ -5,5 +5,5 @@ runs:
|
|||
using: 'docker'
|
||||
image: 'docker://ghcr.io/github/super-linter:v3'
|
||||
branding:
|
||||
icon: 'check-square'
|
||||
icon: 'check-square'
|
||||
color: 'white'
|
||||
|
|
2
dependencies/Gemfile.lock
vendored
2
dependencies/Gemfile.lock
vendored
|
@ -57,4 +57,4 @@ DEPENDENCIES
|
|||
rubocop-rspec (~> 1.41.0)
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
env:
|
||||
|
|
|
@ -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