Commit graph

998 commits

Author SHA1 Message Date
kpj
9e7c84fbbb Fix various Snakemake related variable names 2020-09-24 16:06:12 +02:00
kpj
40f995365b Fix Snakefile regex 2020-09-24 15:55:47 +02:00
kpj
71ede6ccca Add missing 'GetLinterRules' calls 2020-09-24 15:54:24 +02:00
Michael Shimokura
12543b369b Lint all files with editorconfig-checker
Since .editorconfig configuration files _could_ apply to any file, we
should pass in the RAW_FILE_ARRAY to it. This ensures that files of all
types are linted by editorconfig-checker.
2020-09-24 09:02:24 -04:00
Lukas Gravley
84c79a186b
Merge branch 'master' into master 2020-09-22 08:56:09 -05:00
Marco Ferrari
f24f52be11 Lint with Kubeval and fixes 2020-09-22 01:49:01 +02:00
Lukas Gravley
f290145dfa
Update linter.sh 2020-09-21 13:51:46 -05:00
Lukas Gravley
06cb2ebb6f
Update linter.sh 2020-09-21 13:50:58 -05:00
Marco Ferrari
6168112f61 Fix ERROR_ON_MISSING_EXEC_BIT initialization 2020-09-21 14:43:44 +02:00
kpj
6f6004275f In anticipation of snakefmt 0.1.6, start using --check and --compact-diff 2020-09-18 16:32:01 +02:00
Marco Ferrari
5cefb9209f Make bash-exec errors or warnings configurable 2020-09-15 22:40:12 +02:00
NicolasVuillamy
e470df5431 Fix file filters: Reorder arguments to LintCodeBase function 2020-09-15 08:15:53 +02:00
kpj
5b51c2bd92 Use '--compact-diff' instead of '--diff' for snakefmt 2020-09-14 09:36:33 +02:00
Joseph Marino
2698bdfbc3
Fixed a typo in code comments
Replaced the term "CSS" with "HTML" in code comments for the
HTML_LINTER_RULES variable.
2020-09-11 15:16:55 -04:00
kpj
11f437df4c Fix usage of FILE_ARRAY_SNAKEMAKE 2020-09-11 13:51:15 +02:00
kpj
e1b2fd6085 Fix bug in Snakemake file regex 2020-09-11 13:49:05 +02:00
kpj
ec0577ae5b Add Snakemake to language array 2020-09-11 13:31:57 +02:00
Lukas Gravley
79b055babe
Merge pull request #707 from ferrarimarco/fix-node-modules
Fix list files function typos
2020-09-10 11:21:54 -05:00
Lucas Gravley
b232c5b970 this is the way./.. 2020-09-10 10:34:04 -05:00
Lucas Gravley
f432ef2116 fix spaces 2020-09-10 10:25:56 -05:00
Marco Ferrari
ad9c0081f4 Fix list files function typos 2020-09-10 12:10:12 +02:00
NicolasVuillamy
27afc50d60 Set GROOVY Linter failure level to warning 2020-09-10 11:07:05 +02:00
NicolasVuillamy
c86e90b3d0 Solve conflicts + format 2020-09-09 20:22:32 +02:00
NicolasVuillamy
f072bc5c8d Merge remote-tracking branch 'github/master' 2020-09-09 20:18:21 +02:00
Lukas Gravley
9f3eb7d454
Merge pull request #679 from Goryudyuma/just-filter-the-git-folder
Just filter the .git folder
2020-09-09 10:53:19 -05:00
Lucas Gravley
b5d42bf181 this makes no sense 2020-09-09 10:37:02 -05:00
Lucas Gravley
880380d118 if i could only read 2020-09-09 10:18:12 -05:00
Lucas Gravley
dbd4cd673d this has to be right 2020-09-09 10:04:21 -05:00
Lucas Gravley
eb67d9b9c6 fix that dumb action 2020-09-09 09:28:39 -05:00
Lucas Gravley
bae75b456b more fix 2020-09-09 09:24:57 -05:00
Lucas Gravley
17c3ded695 i forgot how this works 2020-09-09 09:24:27 -05:00
Lukas Gravley
e9811c85d6
Update lib/worker.sh
yes

Co-authored-by: Goryudyuma(Kei.Matsumoto) <6211370+Goryudyuma@users.noreply.github.com>
2020-09-08 16:00:12 -05:00
Lucas Gravley
fd42f4b3fb science... 2020-09-08 15:45:17 -05:00
Marco Ferrari
83666ffaba Fix getting filename for hidden files 2020-09-08 19:20:49 +02:00
Lucas Gravley
0e5f996c3c look at folders and not file names 2020-09-08 12:16:59 -05:00
Lucas Gravley
a0d4012b67 like this? 2020-09-08 12:01:17 -05:00
Lucas Gravley
53995952e0 Merge branch 'master' into just-filter-the-git-folder 2020-09-08 10:43:59 -05:00
Lucas Gravley
a6c9656015 fixing vars 2020-09-08 09:47:57 -05:00
kpj
6f6e6e9d03 [Snakemake] Remove wrong function argument 2020-09-08 11:26:48 +02:00
kpj
581f07a32b [Snakemake] Fix 'LINTER_NAME' 2020-09-08 10:19:56 +02:00
kpj
8ac1c99a2e [Snakemake] Support both formatting using 'snakefmt' and linting using 'snakemake --lint' 2020-09-08 09:38:48 +02:00
kpj
ad262196ba [Snakemake] Also lint 'Snakefile' (without '.smk' suffix) 2020-09-08 09:11:54 +02:00
kpj
53f551c8b0 [Snakemake] Add '--config' parameter to 'snakefmt' calls 2020-09-07 17:26:58 +02:00
kpj
0c5029bf67 [Snakemake] Actually run 'snakefmt' tests 2020-09-07 17:20:56 +02:00
kpj
1e453be7fa [Snakemake] Update codebase 2020-09-07 16:49:07 +02:00
NicolasVuillamy
04c93b4ff5 Add management of FILTER_REGEX_INCLUDE and FILTER_REGEX_EXCLUDE options 2020-09-05 12:25:44 +02:00
Lukas Gravley
828de134a9
this should be right 2020-09-04 13:22:01 -05:00
Goryudyuma(Kei.Matsumoto)
b31b696e00
Just filter the .git folder 2020-09-05 03:08:26 +09:00
Lukas Gravley
c58bab2627
Merge pull request #677 from v1v/feature/version
Print version, date and revision
2020-09-04 10:35:38 -05:00
Lucas Gravley
b29eb851d3 make pretty 2020-09-04 10:14:47 -05:00
Lukas Gravley
a3fcb3ea7c
Merge pull request #675 from dmerrick/honoring-disable-errors
Making MULTI_STATUS honor DISABLE_ERRORS setting
2020-09-04 09:15:06 -05:00
Lukas Gravley
eb36fb7d7c
Merge branch 'master' into master 2020-09-04 08:53:34 -05:00
NicolasVuillamy
21d75fb89e Groovy traps .nf extension (nextflow) + upgrade npm-groovy-lint 2020-09-04 11:54:31 +02:00
Victor Martinez
d3c992bec7
Print version, date and revision 2020-09-04 09:09:20 +01:00
Dana Merrick
c64c5c8d60 Cleaner solution 2020-09-03 19:37:10 -04:00
Dana Merrick
dd84550d46 Honoring DISABLE_ERRORS 2020-09-03 19:23:24 -04:00
Lucas Gravley
c4bbf03935 fixing debug 2020-09-03 10:12:29 -05:00
Lucas Gravley
d78e707cba no source needed 2020-09-03 09:57:20 -05:00
Lucas Gravley
a3c8b22e2c fix duplicate names 2020-09-03 09:56:34 -05:00
Lucas Gravley
6ac933dc8c fix print 2020-09-03 09:34:39 -05:00
Lucas Gravley
165b29cbe1 fix array 2020-09-03 09:21:22 -05:00
Lucas Gravley
8a51e59be7 even easier 2020-09-03 09:20:00 -05:00
Lucas Gravley
72fd3e3b87 super simple 2020-09-03 09:12:49 -05:00
Lukas Gravley
b012d72952
Merge pull request #662 from montyly/dev-black-config-file
Add support for black config file
2020-09-02 09:57:44 -05:00
Lucas Gravley
f5e39e5aad fix typo and add check 2020-09-02 09:26:01 -05:00
Lucas Gravley
a756e40157 typo 2020-09-02 09:07:39 -05:00
Lucas Gravley
6040030c8a Adding more paths to ignore 2020-09-02 09:05:36 -05:00
Josselin
f34b084586 Add support for black config file 2020-09-02 11:28:57 +02:00
Marco Ferrari
de4b8a4fa0 Add shfmt and fixes back 2020-09-01 00:06:15 +02:00
Marco Ferrari
30763f2575 Streamline shell file list building 2020-08-31 23:47:48 +02:00
Lucas Gravley
98c2eec42a small clean 2020-08-31 14:34:14 -05:00
Marco Ferrari
228a86e5c0 Remove duplicate output lines when checking for ZSH scripts 2020-08-31 19:56:49 +02:00
Marco Ferrari
798311822a Add file path to ZSH warning messages 2020-08-31 19:47:05 +02:00
Marco Ferrari
833dcb8bd8 Don't check zsh files with shfmt 2020-08-31 19:31:22 +02:00
Marco Ferrari
f5331bdcd3 Skip shfmt if no .editorconfig file is present 2020-08-31 19:30:50 +02:00
Marco Ferrari
f90c3a289b Check if report output folder exists before listing 2020-08-31 19:22:50 +02:00
Marco Ferrari
644e69131b Fix shfmt test 2020-08-31 19:22:50 +02:00
Marco Ferrari
b3a980e06f Fix bash-exec and terrascan versions 2020-08-31 19:22:49 +02:00
Marco Ferrari
0d849cd5e0 Lint shell files with shfmt 2020-08-31 19:22:49 +02:00
Lucas Gravley
13e87dd021 lots of cleanup 2020-08-31 11:51:03 -05:00
Lucas Gravley
958f70fe67 its real picky 2020-08-31 10:11:12 -05:00
Lucas Gravley
a32d0c1314 here 2020-08-28 14:08:08 -05:00
Lucas Gravley
a9bc2068f7 they come in pairs 2020-08-28 13:50:23 -05:00
Lucas Gravley
633418aa8a fix var 2020-08-28 13:47:15 -05:00
Lucas Gravley
e9c3938982 fix tty issues 2020-08-28 13:44:11 -05:00
Lucas Gravley
b7781ba295 forgot quote 2020-08-28 11:54:31 -05:00
Lucas Gravley
9be83e0166 merge master 2020-08-28 11:46:11 -05:00
Lucas Gravley
345a6626e7 put it back 2020-08-28 11:42:14 -05:00
Lukas Gravley
10f44786ce
Merge pull request #641 from github/isExec
adding bash-exec
2020-08-28 10:37:43 -05:00
Lucas Gravley
a35df1c943 its friday 2020-08-28 10:15:44 -05:00
Lucas Gravley
40fddbad79 get name even 2020-08-28 10:12:02 -05:00
Lucas Gravley
920f7b673b adding warning 2020-08-28 10:08:21 -05:00
Lucas Gravley
0404c39203 adding exec 2020-08-28 09:56:53 -05:00
Lucas Gravley
d9f35b2af7 more cleanupo 2020-08-27 14:26:05 -05:00
Lucas Gravley
4bf0aee923 Make it happy 2020-08-27 14:12:24 -05:00
Lucas Gravley
94e03d50ac better loop 2020-08-27 14:01:43 -05:00
Lucas Gravley
9cae4c7f6d better 2020-08-27 09:00:54 -05:00
Cesar Rodriguez
815f8236dd Updates scan command for Terrascan 2020-08-26 22:53:00 -04:00
Cesar Rodriguez
e060679ea8 Updates terrascan command 2020-08-26 22:53:00 -04:00
Eddy Nakamura
9c44d2d503 changing command - 2 2020-08-26 11:58:28 -03:00
Eddy Nakamura
b83e4c99ed updating command 2020-08-26 11:42:05 -03:00
Lucas Gravley
454fa09b81 Fixed it? 2020-08-26 08:50:53 -05:00
Eddy Nakamura
6157d8a2ae trying to solve command issue 2020-08-25 19:52:04 -03:00
Eddy Nakamura
a766e5f624 updating format command 2020-08-25 19:20:02 -03:00
Lucas Gravley
9b129f4873 fixed it again 2020-08-25 14:21:22 -05:00
Lukas Gravley
c2e207f643
Merge branch 'master' into feature/csharp-lint 2020-08-25 13:09:51 -05:00
Lucas Gravley
add83739a7 adding test folders 2020-08-25 13:07:44 -05:00
Lucas Gravley
ae9cb55eec adding more folders to ignore 2020-08-25 10:32:05 -05:00
Lukas Gravley
fb70f94bd3
Merge branch 'master' into hadolintLinter 2020-08-25 10:06:43 -05:00
Lucas Gravley
ee3200654a adding hadolint configuration 2020-08-25 09:55:30 -05:00
Lucas Gravley
cb41ae47fa adding feature 2020-08-25 09:05:23 -05:00
Eddy Nakamura
79dccdf62b updating command 2020-08-24 21:58:25 -03:00
Eddy Nakamura
efe1f95c87 updating linter script 2020-08-24 21:46:55 -03:00
Eddy Nakamura
accf805de4 adding files to buildFileList and linter 2020-08-24 21:43:50 -03:00
Eddy Nakamura
24ce47014d Adding C# lint 2020-08-24 21:40:02 -03:00
Lucas Gravley
e7ff2d0e66 fixed it 2020-08-24 14:22:39 -05:00
Lucas Gravley
a1f76a8e2b fix version 2020-08-24 14:17:44 -05:00
Lucas Gravley
254db11e08 better... faster... stronger... 2020-08-24 14:12:37 -05:00
Lucas Gravley
3fda83377a add quotes 2020-08-24 13:56:09 -05:00
Lucas Gravley
6d7c89b7d7 fix struct 2020-08-24 11:16:22 -05:00
Lucas Gravley
bce238d392 adding some spaget 2020-08-24 11:11:10 -05:00
Lucas Gravley
815ff9d520 Adding more 2020-08-20 13:03:40 -05:00
Lucas Gravley
17a4bd2271 adding some dope code 2020-08-20 12:58:11 -05:00
Lucas Gravley
1f2c569c21 adding black 2020-08-20 09:44:11 -05:00
Lucas Gravley
b13ac9a14f quotes 2020-08-19 14:18:49 -05:00
Lucas Gravley
54abac63b3 fix logic hole 2020-08-19 14:14:41 -05:00
Lukas Gravley
5970f28f6b
Merge pull request #588 from assignUser/chktex
Add LaTeX support
2020-08-19 13:12:11 -05:00
assignUser
8224e9e6e5 fix exit code 2020-08-19 17:51:07 +00:00
assignUser
dcd81f09d0 fix global config warning 2020-08-19 14:28:41 +00:00
assignUser
bad32e6f53 adress review 2020-08-19 14:16:59 +00:00
assignUser
b42ba5c72a quiet chktex 2020-08-19 01:11:34 +00:00
assignUser
e8db83e2dd
Update linter.sh 2020-08-19 01:03:12 +02:00
assignUser
e1bc1df9e7 add latex support 2020-08-18 22:54:32 +00:00
Lukas Gravley
308c1fd5aa
Merge pull request #569 from assignUser/master
Add lintr support to super-lint
2020-08-18 16:08:35 -05:00
assignUser
cc903ad583 Adjust doc about exclusions 2020-08-18 16:11:26 +00:00
Lucas Gravley
f5752cfd45 adding the right var 2020-08-18 10:09:18 -05:00
Lucas Gravley
1f55b422da fix folder for persistance 2020-08-18 09:51:38 -05:00
assignUser
3d4292f067 alphabetize 2020-08-17 19:47:03 +00:00
assignUser
c2f35fc0b3
Update lib/worker.sh
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2020-08-17 21:45:16 +02:00
assignUser
6372885cd0 relative exclusions work, adressed comments 2020-08-17 16:27:31 +00:00
assignUser
9ec761f61c prereview 2020-08-17 15:34:55 +00:00
assignUser
727f982bf9 typo 2020-08-17 13:38:00 +00:00
assignUser
4f4784fd41 fix displayed lintr command 2020-08-17 13:30:39 +00:00
assignUser
f9b81243db add quotes 2020-08-17 12:14:15 +00:00
assignUser
0f47f68445 add .lintr detection 2020-08-17 12:01:25 +00:00
Julie Garrone
1022ad20f5 Fix indentation in comment and table 2020-08-17 09:59:09 +02:00
assignUser
6bb65aaa2c lowercase file_type 2020-08-16 13:31:23 +00:00
assignUser
7632f64664 ad lintr to TestCodebase 2020-08-16 12:44:37 +00:00
assignUser
527334883e adjust lint command 2020-08-16 00:18:31 +00:00
assignUser
8baec3bc77 fix 2020-08-15 23:43:42 +00:00
assignUser
a745a38df9 add apks 2020-08-15 22:53:08 +00:00
assignUser
0933aebc7a add R with edgecases 2020-08-15 19:29:22 +00:00
Julie Garrone
c043e87ef1 Fix VALIDATE variables name for Dockerfile linters 2020-08-14 10:38:26 +02:00
Lucas Gravley
0d3547c35b more quotes 2020-08-13 12:48:00 -05:00
Lucas Gravley
c7f28b9b7f backwards 2020-08-13 12:44:55 -05:00
Lucas Gravley
999413d224 adding more tests and cool logic 2020-08-13 12:40:21 -05:00
Lukas Gravley
f72cd683d7
Merge pull request #560 from GaboFDC/gf_sass
Add sass and scss files to stylelint
2020-08-13 12:22:04 -05:00
Lukas Gravley
b63730f8fb
Merge pull request #555 from GaboFDC/gf_better_validate_logic
Better VALIDATE_[LANGUAGE] vars logic
2020-08-13 12:21:08 -05:00
Lukas Gravley
118ab2ce5f
Merge pull request #563 from julie-garrone/fix-dockerfilelintrc-ignored-bug
Fix .dockerfilelintrc is ignored bug
2020-08-13 12:20:47 -05:00
Julie Garrone
f289ebd074 Fix dockerfile linters FILE_NAME variable 2020-08-13 18:03:13 +02:00
Lucas Gravley
345862a029 smallFix 2020-08-13 10:06:11 -05:00
Gabo
50cf06f562 Add sass and scss 2020-08-13 07:58:06 -05:00
Gabo
d05f179506 Add logic to include/exclude linters 2020-08-11 21:05:01 -05:00
Gabo
cb2cf0eb49 Fix spell 2020-08-11 21:04:33 -05:00
Lucas Gravley
0f88a9ea5d More verbose 2020-08-11 13:27:30 -05:00
Lucas Gravley
9856082087 add sql goods 2020-08-11 12:30:00 -05:00
Lukas Gravley
717f652dc9
super slick 2020-08-11 08:55:42 -05:00
Eric Nemchik
a4d7e4831a Add missing editorconfig-checker to linter array 2020-08-10 09:45:40 -05:00
Ryan Moran
200f699c15 Adds --external-sources option for shellcheck
Shellcheck supports a `--external-sources` option that allows directives
like the follow to pass linting.

  ```
  # shellcheck source=SCRIPTDIR/some/source/script.sh`
  source "$(dirname "${BASH_SOURCE[0]}")/some/source/script.sh"
  ```
Without this option, we will see lots of spurious errors from shellcheck
like the following.

  ```
  # shellcheck source=SCRIPTDIR/some/source/script.sh`
  source "$(dirname "${BASH_SOURCE[0]}")/some/source/script.sh"
         ^-- SC1091: Not following: SCRIPTDIR/some/source/script.sh: openBinaryFile: does not exist (No such file or directory)
  ```

It looks like it [may be
possible](https://github.com/koalaman/shellcheck/issues/1818) to include
this option in a future version of shellcheck through the .shellcheckrc
configuration file, given that this issue is resolved, and that
super-linter supports .shellcheckrc as a configuration file for
shellcheck.
2020-08-07 15:18:40 -04:00
Lukas Gravley
1746012dab
Merge pull request #534 from marghidanu/master
PerlCritic basic implementation
2020-08-07 11:56:09 -05:00
Lukas Gravley
d082f4f6e4
Merge pull request #529 from github/BetterTests
Adding all codebase scan test
2020-08-07 09:22:17 -05:00
Lukas Gravley
9ea04e4012
Merge pull request #531 from GaboFDC/gf_improve_eslint
Improve eslint
2020-08-07 08:34:13 -05:00
Tudor Marghidanu
523b14a2df PerlCritic basic implementation 2020-08-07 14:58:40 +02:00
Gabo
9dc7afd67f Allow to set markdownlint config file 2020-08-07 00:51:59 -05:00
Gabo
a186477c8b Skip node_modules from finds 2020-08-06 19:56:36 -05:00
Lucas Gravley
f88db68011 remove space 2020-08-06 15:07:34 -05:00
Lucas Gravley
c9ef1fcb66 Saving it 2020-08-06 12:01:36 -05:00
Lukas Gravley
fc9654924f
Merge pull request #526 from github/fix-editorconfig
Editorconfig error reporting fix
2020-08-06 11:27:47 -05:00
Lucas Gravley
5ffa5518db fixed it real good 2020-08-06 10:56:06 -05:00
Lucas Gravley
f5532f9cd6 put them back lol 2020-08-06 10:53:42 -05:00
Lucas Gravley
2beb30e939 cleanup 2020-08-06 10:42:57 -05:00
Lucas Gravley
5b44f9d066 Adding secondary name 2020-08-06 10:30:10 -05:00
Eric Nemchik
e527b47e80
Update linter.sh 2020-08-06 10:25:45 -05:00
Lucas Gravley
54fe9b762b Adding the look 2020-08-06 09:39:45 -05:00
Lucas Gravley
3a1535e413 fix typo 2020-08-05 14:53:48 -05:00
Lucas Gravley
c3e5cb0ef1 Fix the pathing 2020-08-05 14:37:38 -05:00
Lucas Gravley
3d7e7d1073 Fix checkstyle 2020-08-05 14:28:43 -05:00
Lucas Gravley
eaca27d508 Fix typo 2020-08-05 13:38:35 -05:00
Lucas Gravley
a216a6623a adding some good code 2020-08-05 13:35:14 -05:00
Lucas Gravley
e638e3d8ac Fix shell errors 2020-08-05 13:16:49 -05:00
Ishan Goel
f327a4dc5f
Merge branch 'master' into quackduck-pr 2020-08-05 20:10:30 +04:00
Ishan Goel
5527dab3fa Fix some merge conflicts 2020-08-05 20:00:51 +04:00
Gabo
ad4ba7d492 Fix php var wrong default 2020-08-04 16:41:02 -05:00
Lukas Gravley
7d3ad70608
i made a mistake 2020-08-04 16:13:20 -05:00
Lucas Gravley
6a6bb77270 Fixing them rules 2020-08-04 14:41:10 -05:00
Lucas Gravley
c78f7f0ed8 adding better finder 2020-08-04 14:19:29 -05:00
Lucas Gravley
dee51753b0 now with connecting vars 2020-08-04 13:57:50 -05:00
Lucas Gravley
862bcd59e9 hadolint... 2020-08-04 13:53:32 -05:00
Lucas Gravley
786c6fda03 fixed merge conflicts 2020-08-04 12:45:15 -05:00
Filip Š
8063ed91f5 Fix PHPStan config again 2020-08-04 19:24:15 +02:00
Filip Š
0c84fd5120 Fix PHPStan config 2020-08-04 19:15:46 +02:00
Filip Š
db2dc2cea2 Add docs and backward compatibility 2020-08-03 22:07:31 +02:00
Filip Š
364f31f2e3 Merge branch 'support-for-phpcs-and-psalm' of https://github.com/filips123/super-linter into support-for-phpcs-and-psalm 2020-08-03 21:43:38 +02:00
Filip Š
a4fec5d53b Support for testing PHPCS and Psalm 2020-08-03 21:21:14 +02:00
Filip Š
7abb1db30b Support for PHPCS and Psalm config files 2020-08-03 21:21:01 +02:00
Lucas Gravley
56894ef49a fixed the cool guy 2020-08-03 14:14:54 -05:00
sirReeall
f9e2e5a74a
hardcoded template file
Might need to figure out how to change this at a later date
2020-08-03 16:28:07 +01:00
Ishan Goel
c0626d00fa Change spotless to checkstyle 2020-08-03 14:48:32 +04:00
Lucas Gravley
84926171fb fix arrays and add tests 2020-07-31 09:54:58 -05:00
Lucas Gravley
5b2afbd9d1 Merge branch 'master' into support-for-phpcs-and-psalm 2020-07-31 09:17:28 -05:00
Lucas Gravley
d1827a81f7 fixin it 2020-07-31 09:17:04 -05:00
Lukas Gravley
8d8bc80de1
Update linter.sh 2020-07-31 09:07:44 -05:00
Lucas Gravley
85c842bbd0 fixing merge conflicts 2020-07-31 08:54:50 -05:00
Gabo
4a2bf935b7 Remane tests 2020-07-30 18:16:05 -05:00
Eric Nemchik
ba957aa951
Merge branch 'master' into gf_fix_yaml 2020-07-30 18:04:37 -05:00
Gabo
3c6a680bd6 Fix yaml 2020-07-30 16:43:35 -05:00
Eric Nemchik
09a51babdf Cleanup 2020-07-30 15:46:14 -05:00
Eric Nemchik
0e547aa871 Format (fix indentation) 2020-07-30 15:39:05 -05:00
Eric Nemchik
d49f6ce71f Remove sudo 2020-07-30 15:19:21 -05:00
Eric Nemchik
2d2fafef1b Format code 2020-07-30 15:18:24 -05:00
Eric Nemchik
c541a221bb Ditch empty echos 2020-07-30 15:05:16 -05:00
Eric Nemchik
adb504d233 Use export to Workaround SC2034 2020-07-30 14:26:10 -05:00
Eric Nemchik
8161414bef Use log functions for all output 2020-07-30 14:15:42 -05:00
Eric Nemchik
fdfd6eb08e Merge remote-tracking branch 'origin/master' into log 2020-07-30 13:23:09 -05:00
Lucas Gravley
9a56364ac0 Fixed logic 2020-07-29 08:24:47 -05:00
Cees-Jan Kiewiet
76775d29b3
Add basic PHPStan support 2020-07-28 19:50:00 +02:00
Gabo
8fd0bd3eb5 Fix python file type 2020-07-27 18:01:38 -05:00
Gabo
26c05d5e41 Fix python var and rules 2020-07-27 18:01:38 -05:00
Gabo
a593a5c9ad Fix rebase 2020-07-27 17:56:12 -05:00
Gabo
f372e4668b Add python flake8 worker 2020-07-27 17:51:02 -05:00
Gabo
1fce9458ce Sort alphabetically and configs for python flake8 2020-07-27 17:51:02 -05:00
Gabo
794c614836 Add python vars 2020-07-27 17:47:49 -05:00
Eric Nemchik
008a3057c9 Remove trailing NC on log functions 2020-07-27 16:35:53 -05:00
Eric Nemchik
af13245484 First pass at log functions 2020-07-27 16:32:10 -05:00
Eric Nemchik
9fc054ab16 Add log functions 2020-07-27 16:11:33 -05:00
Lukas Gravley
85209cfb5d
Merge pull request #476 from github/lua
add lua/luacheck to super-linter
2020-07-27 12:13:39 -05:00
Filip Š
67cde9602e Add support for PHPCS and Psalm config files 2020-07-26 21:44:52 +02:00
Filip Š
49243625fe Basic support for PHPCS and Psalm 2020-07-26 21:44:15 +02:00
Gabo
eafc73332b Allow to pass yamllint config file 2020-07-24 14:05:13 -05:00
Casey Vega
5fa6aca5c2
add lua to super-linter 2020-07-24 11:34:52 -07:00
Gabo
f2045eb496 Fix YAML 2020-07-24 11:20:22 -05:00
Lucas Gravley
4c7f32ef9a small cleanup 2020-07-24 08:20:41 -05:00
Lucas Gravley
03ae515018 remove dead loop, set terrascan to default true 2020-07-24 08:14:01 -05:00
Cesar Rodriguez
9cbcacb529 Fixes Terrascan tests 2020-07-24 00:55:31 -04:00
Cesar Rodriguez
85d4c89544 Fixing bash linting issue 2020-07-24 00:37:40 -04:00
Cesar Rodriguez
7a48eb4e9a Default to not use Terrascan 2020-07-24 00:30:37 -04:00
Cesar Rodriguez
20a91b5de5 Adds file array variable for Terrascan 2020-07-24 00:20:08 -04:00
Cesar Rodriguez
d423b1c36a Fixes Terrascan command 2020-07-24 00:19:49 -04:00
Cesar Rodriguez
6327cc5205 Updates Terrascan linting flag 2020-07-24 00:00:43 -04:00
Cesar Rodriguez
ea9ad2c3fb Adds Terrascan testing 2020-07-23 23:59:52 -04:00
Cesar Rodriguez
2b7a78dd96 Including Terrascan linting command 2020-07-23 23:56:32 -04:00
Lucas Gravley
2641579125 Adding it 2020-07-23 12:52:43 -05:00
Lukas Gravley
957aaed999
Merge branch 'master' into Groovy 2020-07-23 12:15:28 -05:00
Lucas Gravley
1102675a6d adding the rest 2020-07-23 10:18:54 -05:00
Lukas Gravley
135b01cf51
Merge branch 'master' into Groovy 2020-07-23 09:08:35 -05:00
Lucas Gravley
4a5adc9548 forgot that gradle action 2020-07-23 08:22:30 -05:00
Lucas Gravley
589f111eab fixed conflict 2020-07-23 08:05:16 -05:00
Lukas Gravley
15ff461d26
Merge pull request #465 from GaboFDC/gf_fix_special_filetypes
Added case for special types like open api
2020-07-23 08:00:55 -05:00
Lukas Gravley
a5977bcfb2
Merge pull request #466 from github/dart-fixes
Dart fixes
2020-07-23 07:58:09 -05:00
Gabo
b15fa8c738 Added case for special types like open api 2020-07-23 00:30:12 -05:00
Lucas Gravley
a0ff3df431 imports and exports 2020-07-22 15:41:08 -05:00
Lucas Gravley
da67a88535 fix fun else 2020-07-22 14:59:03 -05:00
Lucas Gravley
1249a930b7 making cool moves 2020-07-22 14:49:26 -05:00
Lucas Gravley
f74fa431f4 Cleanup of errors 2020-07-22 14:41:37 -05:00
Lucas Gravley
5001845b7b going soooo hard 2020-07-22 14:31:47 -05:00
Lucas Gravley
3c92dcd70b Went sooo hard on this 2020-07-22 14:26:45 -05:00
Lucas Gravley
9cb4c33715 found the missing link 2020-07-22 14:07:08 -05:00
Lukas Gravley
ca69d68311
Merge pull request #462 from nemchik/bash-expansion
Simplify extension extraction
2020-07-22 13:39:15 -05:00
Eric Nemchik
fd6dea2c17 Simplify extension extraction 2020-07-22 12:27:45 -05:00
Lucas Gravley
183a8f0ea3 fixed bug 2020-07-22 11:59:46 -05:00
Lukas Gravley
40dc32f670
Merge branch 'master' into Groovy 2020-07-22 11:44:20 -05:00
Lucas Gravley
54ee1cdfb4 fixed order 2020-07-22 09:35:21 -05:00
Lucas Gravley
e813af8313 Adding better error reporting 2020-07-22 09:20:02 -05:00
Lucas Gravley
aa84744c86 Merge branch 'master' into state-braces 2020-07-22 08:07:18 -05:00
Lucas Gravley
eaa2545625 adding it 2020-07-22 08:06:35 -05:00
Ishan Goel
1a0dff9d7a
Merge branch 'master' into quackduck-pr 2020-07-22 11:10:19 +04:00
Ishan Goel
5b7cbb36eb Work on adding Java 2020-07-22 09:49:31 +04:00
Gabo
bda5a6777d Fix awk 2020-07-21 20:17:51 -05:00
Eric Nemchik
71a3cd9093 Braces
orthodontist
2020-07-21 14:39:14 -05:00
Casey Vega
daba819f85
update linter.sh - remove pub
On second thought, I do not like this approach because it's asking `pub` questions it has already answered for each file, coupled with the fact that `|| true` means pub can fail for whatever reason. Looking at the other linters, and looking at the recent bug report in #120 I think it's safe to assume that pub, or any package manager can be called as a first step and then proceed to super lint.
2020-07-21 12:33:36 -07:00
Lucas Gravley
55fa76204c Merge branch 'stateLinter' of https://github.com/github/super-linter into stateLinter 2020-07-21 14:24:03 -05:00
Lucas Gravley
1bb5236960 Fixes 2020-07-21 14:23:56 -05:00
Lukas Gravley
c03ad1866e
Merge branch 'master' into stateLinter 2020-07-21 14:21:05 -05:00
Lucas Gravley
ea77cfa886 cleanup of big clean 2020-07-21 13:55:27 -05:00
Lucas Gravley
1971c8359e Adding states linter 2020-07-21 13:50:04 -05:00
Eric Nemchik
9451e491c4 Variable braces 2020-07-21 12:23:27 -05:00
Eric Nemchik
1d91e2604f Format Markdown 2020-07-21 12:08:05 -05:00
Lucas Gravley
3a35e86775 super clean 2020-07-21 11:09:05 -05:00
Lucas Gravley
d7c8d9be35 quotes 2020-07-21 10:24:16 -05:00
Lucas Gravley
8510e56817 fixed it 2020-07-21 10:21:08 -05:00
Lucas Gravley
6022bd2ee6 Adding logic to skip status without proper data 2020-07-21 10:13:15 -05:00
Lucas Gravley
4d079ba298 remove comment 2020-07-21 09:22:42 -05:00
Lucas Gravley
eaad677b54 more bugs 2020-07-21 09:14:23 -05:00
Lucas Gravley
4f1493c9dd fixing errors 2020-07-21 09:10:20 -05:00
Lucas Gravley
535d2aea7d fixing internal names 2020-07-21 08:52:30 -05:00
Lucas Gravley
dabf5e25c0 this shoudl be better 2020-07-21 08:23:32 -05:00
Lucas Gravley
1fe8fb5431 maybe this does it 2020-07-21 08:12:28 -05:00
Lucas Gravley
195f67e165 can i do this 2020-07-20 15:15:10 -05:00
Lucas Gravley
e2ed325d4e found a bug 2020-07-20 15:09:34 -05:00
Lucas Gravley
7e89fa681c fixed langauge logic 2020-07-20 14:52:56 -05:00
Lucas Gravley
4b6d5433f1 more clean 2020-07-20 14:29:03 -05:00
Lucas Gravley
2b478cc1cd close the loop 2020-07-20 14:13:26 -05:00
Lucas Gravley
3d8c51f768 adding the code 2020-07-20 14:07:56 -05:00
Lukas Gravley
808c70aaf6
Merge pull request #421 from v1v/feature/tap-its
[tests] validate TAP format
2020-07-20 08:22:07 -05:00
Lucas Gravley
3327bab09f Adding some additional details 2020-07-20 08:14:40 -05:00
Victor Martinez
866d22d787
Add extension for the editor-config test files 2020-07-19 20:57:45 +01:00
Victor Martinez
ef1cc10e1d
Alphabetic order for the TestCodebase 2020-07-19 20:48:04 +01:00
Victor Martinez
9c24338fe8
Add editor-config tests to the automation 2020-07-19 20:45:10 +01:00
Victor Martinez
9d68381696
Generate report for the warnings 2020-07-19 20:26:20 +01:00
Victor Martinez
1780618634
Merge remote-tracking branch 'upstream/master' into feature/tap-its
* upstream/master:
  Ansible: fix globbing issue and allow .yaml too
  Bump yamllint from 1.24.1 to 1.24.2 in /dependencies
  Bump typescript from 3.9.6 to 3.9.7 in /dependencies
  found it
  BetterRaku
  fixing ruby
  specify version
  Use Docker instead of run-time build
  Bump yamllint from 1.23.0 to 1.24.1 in /dependencies
  Bump @coffeelint/cli from 3.2.9 to 3.2.10 in /dependencies
  Bump cfn-lint from 0.33.2 to 0.34.0 in /dependencies
  Rever to non breaking rubocop version
  Fix rubocop github version
  Fix version with bug
  User gemfile for dependabot and update rubocop
2020-07-19 19:38:29 +01:00
Sebastian Kunze
698aa76a0f
Ansible: fix globbing issue and allow .yaml too 2020-07-18 16:36:05 +02:00
Lucas Gravley
7f15e0bf4e fixing ruby 2020-07-16 09:56:27 -05:00
Victor Martinez
cee9d3a956
refactored AddDetailedMessageIfEnabled 2020-07-15 22:37:46 +01:00
Victor Martinez
759b5bac1f
no more duplicated entries for ok/not ok tap and tap header 2020-07-15 22:26:24 +01:00
Victor Martinez
41ddd0e1d3
[tests] validate TAP format 2020-07-15 22:18:11 +01:00
Lucas Gravley
93dec38ebf Merge branch 'master' into dart 2020-07-15 15:42:02 -05:00
Casey Vega
95f0c2d534
add dart pub get and --fatal flags
- add `pub get || true`
- add --fatal flags to throw 1 on exit

Adding `pub get` enables dart to import dev/project dependencies before
analysis/linting. It is set to always return true in the event this has
already occured somewhere else in the CI workflow a pubspec.yaml does not
exist

Using `--fatal-(infos|warnings)` allows super-linter to fail when a lint
is reported.
2020-07-14 23:36:22 -07:00
Lukas Gravley
3bc689af42
Merge pull request #252 from v1v/feature/tap-format
Support TAP reporting format
2020-07-14 14:59:14 -05:00
Lucas Gravley
995048321e fixed parse 2020-07-14 11:48:31 -05:00
Lucas Gravley
afe4f087cb Adding groovy 2020-07-14 09:28:58 -05:00
Lucas Gravley
7d035502a3 fine well do it this way 2020-07-13 08:26:23 -05:00
Lucas Gravley
2f3011059a no need to pull as were on the tip of the detached head state 2020-07-10 09:10:42 -05:00
Lucas Gravley
653a9cb606 small fix 2020-07-10 08:53:21 -05:00
Gabo
bbb04b7cf1 Fix dockerfilelint path 2020-07-08 13:17:05 -05:00
past-due
4b9a0a7ba5 Revert "seems to be the simplier path"
This reverts commit 1da8c13a40.
2020-07-08 10:48:29 -04:00
Lukas Gravley
91ea28661e
Merge pull request #391 from GaboFDC/gf_fix_editorconfig
Editorconfig special case
2020-07-08 08:28:55 -05:00
Lukas Gravley
20b8c77230
Merge pull request #397 from past-due/fix_dockerfilelintrc
Fix dockerfilelint -c option usage
2020-07-08 08:26:09 -05:00
Lucas Gravley
1da8c13a40 seems to be the simplier path 2020-07-08 08:02:14 -05:00
past-due
27688d143b Fix dockerfilelint -c option usage
dockerfilelint's "-c" option expects the folder *containing* the DOCKER_LINTER_RULES file
2020-07-07 19:59:32 -04:00
Matthias Meyer
a6c59a9b68
added error variables 2020-07-07 17:25:31 +02:00
Matthias Meyer
f381c47e22
added config parameter 2020-07-07 17:02:56 +02:00
Gabo
294e4024ae Remove unneeded line 2020-07-07 09:21:25 -05:00
Gabo
8884ea722b Don't use linter rules path 2020-07-07 09:18:10 -05:00
Matthias Meyer
9f7cb36b5c
removed separating comma and fixed typo 2020-07-07 15:30:16 +02:00
Matthias Meyer
8bae8dd0b9
Added support for jsx and tsx files 2020-07-07 15:15:20 +02:00
Victor Martinez
7bf7ecdbd3
Merge remote-tracking branch 'upstream/master' into feature/tap-format
* upstream/master: (149 commits)
  rm dupe end brackets
  fix botched merge
  fixed docker bug
  fixing insta;;
  hunting a bug
  adding some small cleanup
  Bump Actions-R-Us/actions-tagger from v2.0.0 to v2.0.1
  Bump actions/github-script from v2.3.1 to v2
  Add HTML support to super-linter
  Remove ARM_TTK_VERSION from ENV in Dockerfile
  Remove noise from ARG in Dockerfile
  Minor fix(1) for TestCodebase [ARM]
  Minor fix for TestCodebase [ARM]
  Update ARM Test Cases readme
  Minor updates following merge from upstream/master
  Minor bugfixes
  Test case updates
  Add `editorconfig-checker`
  Typo
  Use full version numbers for GHA Dependabot will update these automatically
  ...
2020-07-07 07:37:41 +01:00
Casey Vega
00bcbfb897
Merge branch 'master' into dart 2020-07-06 22:03:31 -07:00
Casey Vega
8f7b2bcc74
add suggested changes from @devoncarew
- use analysis_options.yaml file (dart convention), mv .dart-lint.yml
- add --fatal-infos switch for testing
- add VALIDATE_DART, because I missed it before
2020-07-06 21:42:29 -07:00
Casey Vega
433b10bdc9
fix sytax error, missing fi 2020-07-06 21:18:17 -07:00
Lukas Gravley
3ddad12e89
Merge pull request #377 from nbrown/add-raku-support
Add basic Raku support
2020-07-06 20:24:48 -05:00
Lukas Gravley
d1a74e3789
Merge pull request #384 from leviem1/config-patch
Fixed config load issue caused by quotes
2020-07-06 20:22:27 -05:00
Lukas Gravley
99f25aca44
Merge pull request #388 from nemchik/shellcheck-extensions
Shellcheck other extensions
2020-07-06 20:19:13 -05:00
Gabo
69d5c91cb1 Add special case for editor config 2020-07-06 19:38:44 -05:00
Eric Nemchik
d02e03878b Shellcheck other extensions fix 2020-07-06 19:35:26 -05:00
Levi Muniz
9bb7a1332e
Fixed #368 config load issue caused by quotes
FIXED - Removed quotes surrounding declare causing variable to not read in correctly

This is why people don't like BASH...
2020-07-06 18:26:25 -06:00
Levi Muniz
3cb5a0b6fd
Added check to ensure volume is directory
ADDED - Present user with error when attempting to pass non-directory as volume
2020-07-06 15:57:30 -06:00
Eric Nemchik
3bc0b6debb Shellcheck other extensions 2020-07-06 15:01:13 -05:00
Casey Vega
05e73c6127
fix merge conflict, whoops 2020-07-06 11:14:55 -07:00
Casey Vega
7680d58cd5
merge with master 2020-07-06 11:11:35 -07:00
Victor Martinez
9a909c5d1d
Output transformation (with error messages or simpler) (#1)
* Output transformation (with error messages or simpler)
* colon causes issues when transforming TAP to XUnit
2020-07-06 18:06:58 +01:00
Lukas Gravley
04f39392e8
Merge branch 'master' into add-raku-support 2020-07-06 11:52:53 -05:00
Zack Koppert
a6aa4265be
rm dupe end brackets 2020-07-06 08:39:44 -07:00
Zack Koppert
3b6b911d7d
fix botched merge 2020-07-06 08:28:19 -07:00
Zack Koppert
2bf3e5a8f6
Merge branch 'master' into addEditorconfigChecker 2020-07-06 08:19:23 -07:00
Lucas Gravley
da4c2ba68e fixed docker bug 2020-07-06 09:39:37 -05:00
Lukas Gravley
a0d4a72341
Merge branch 'master' into add-htmlhint 2020-07-06 09:00:52 -05:00
Lucas Gravley
bf045db303 hunting a bug 2020-07-06 08:29:36 -05:00
Lucas Gravley
ae7b7f0e53 adding some small cleanup 2020-07-06 08:18:09 -05:00
Casey Vega
407f411e21
adding dart support 2020-07-06 01:17:20 -07:00
nbrown
f58111f220 add Raku support 2020-07-05 22:21:13 -04:00
Terence Dignon
40ca4c5f96 Add HTML support to super-linter 2020-07-04 18:14:27 -04:00
Kevin Rowlandson
d56d1b7346
Minor fix(1) for TestCodebase [ARM] 2020-07-03 14:46:15 +01:00
Kevin Rowlandson
adbb959358
Minor fix for TestCodebase [ARM] 2020-07-03 14:30:32 +01:00
Kevin Rowlandson
39159188cd
Minor updates following merge from upstream/master 2020-07-03 13:51:00 +01:00
Kevin Rowlandson
4cbda27751
Merge remote-tracking branch 'upstream/master' into arm-ttk 2020-07-03 13:28:08 +01:00
Kevin Rowlandson
93f24d5f8f
Minor bugfixes 2020-07-03 12:40:44 +01:00
Kevin Rowlandson
fb613ea619
Test case updates 2020-07-03 12:23:40 +01:00
Max Strübing
9a838766cb
Add editorconfig-checker
see: https://github.com/editorconfig-checker/editorconfig-checker/
2020-07-03 09:19:55 +02:00
Kevin Rowlandson
801ae0bec6
Add arm-ttk Linter 2020-07-02 22:31:16 +01:00
Eric Nemchik
c62d72a97f Add color flag for shellcheck 2020-07-02 15:01:49 -05:00
Lukas Gravley
55d606d6e7
Merge pull request #359 from techotron/use_global_var_for_linter_rules
Use a global scope when setting the LANGAUGE_LINTER_RULES variable
2020-07-02 09:35:27 -05:00
Lukas Gravley
bd83a8a7cb
Merge pull request #351 from nemchik/shfmt
shfmt files
2020-07-02 09:33:26 -05:00
Lucas Gravley
003b322adf docker should be checked in lower as it was converted 2020-07-02 09:14:06 -05:00
Lukas Gravley
89f0ce05d8
Revert "fixed early exit" 2020-07-02 09:01:06 -05:00
esnow
10cdf0216d use global scope when setting the LANGAUGE_LINTER_RULES variable 2020-07-02 14:35:28 +01:00
Lucas Gravley
4d18b4e773 fixed early exit 2020-07-02 08:25:28 -05:00
Eric Nemchik
c7775e8e1d shfmt files 2020-07-01 16:46:35 -05:00
Eric Nemchik
f7f8e6f37c Merge remote-tracking branch 'upstream/master' into color 2020-07-01 16:04:25 -05:00
Eric Nemchik
ff21bbf79c Always end with NC 2020-07-01 15:47:24 -05:00
Eric Nemchik
c872288faa More colors 2020-07-01 15:40:24 -05:00
Lukas Gravley
7f383ded2d
Merge pull request #347 from nemchik/MinorFixGrabBag-C
Use -C with all git commands
2020-07-01 15:02:33 -05:00
Lucas Gravley
cee9c71797 fixed bug in openAPI path 2020-07-01 14:48:40 -05:00
Eric Nemchik
7a5a786764 Use -C with all git commands 2020-07-01 14:43:48 -05:00
Eric Nemchik
504cbc155f More color 2020-07-01 14:33:46 -05:00
Eric Nemchik
f2db69df82 Merge remote-tracking branch 'upstream/master' into color 2020-07-01 14:33:20 -05:00
Eric Nemchik
d328495414 Add more colors for non-errors 2020-07-01 14:28:32 -05:00
Eric Nemchik
5142e0aebd Add colors to output 2020-07-01 14:01:17 -05:00
Lucas Gravley
048cc49991 have i solved the riddle? 2020-07-01 13:38:40 -05:00
Lucas Gravley
11608866b7 fixed more bad logic 2020-07-01 11:59:00 -05:00
Lucas Gravley
6859aa5a82 the sword and the stone 2020-07-01 11:38:26 -05:00
Lucas Gravley
3a4fd9b995 super crazy fix for paths 2020-07-01 09:45:55 -05:00
Lucas Gravley
7bc0f9b8bb Made it a function and put in better place 2020-07-01 07:49:17 -05:00
Kevin Rowlandson
4d3117057f
Update comment on corner case for PowerShell 2020-07-01 09:13:30 +01:00
Kevin Rowlandson
6831d3735a
Updated PSScriptAnalyzer validation for pwsh 2020-07-01 08:43:09 +01:00
Kevin Rowlandson
6b60348fd5
Merge remote-tracking branch 'upstream/master' into github-issue-318 2020-07-01 08:36:12 +01:00
Kevin Rowlandson
9cb592736b
Merge branch 'github-issue-318' of github.com:krowlandson/super-linter into github-issue-318 2020-07-01 08:34:17 +01:00
Kevin Rowlandson
509f767b71
Update TestCodebase() for PowerShell 2020-07-01 08:27:29 +01:00
Lucas Gravley
e3da9a4caa found it 2020-06-30 16:56:59 -05:00
Lukas Gravley
dbc4dc9425
Merge pull request #329 from github/ShellCheck
Shell check
2020-06-30 16:48:30 -05:00
Lucas Gravley
eb2f960a3f actually the right way 2020-06-30 15:34:33 -05:00