Commit graph

450 commits

Author SHA1 Message Date
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
Lucas Gravley
64a79027b4 adding logic for skipping tests 2020-06-30 15:23:24 -05:00
Kevin Rowlandson
6e44ab1b98
Merge pull request #1 from github/master
Update github-issue-318 from upstream
2020-06-30 21:15:02 +01:00
Kevin Rowlandson
5f2cd423a4
Update PowerShell module validation 2020-06-30 20:57:43 +01:00
Kevin Rowlandson
9b13062ca0
Update PowerShell checks and command 2020-06-30 20:32:42 +01:00
Lucas Gravley
ea65af02db better logic 2020-06-30 14:28:47 -05:00
Lucas Gravley
b1525fa761 that loop was dumb 2020-06-30 14:27:36 -05:00
Eric Nemchik
66ea3e05d8 Don't show shyaml errors to the console 2020-06-30 10:30:12 -05:00
Eric Nemchik
c6594d8fb5 Fix new issues 2020-06-30 10:22:35 -05:00
Eric Nemchik
889179e0bf Fix ShellCheck issues with new code base 2020-06-30 10:22:35 -05:00
Eric Nemchik
0101612f7a Fix shellcheck exclusions 2020-06-30 10:22:35 -05:00
Kevin Rowlandson
b5e74e561a
Update LINTER_ARRAY value for PowerShell (Core) 2020-06-30 13:38:39 +01:00
Lucas Gravley
d12f5b541f fixed spacing 2020-06-29 15:38:33 -05:00
Lucas Gravley
ae8836cfec making testing better 2020-06-29 15:22:52 -05:00
Lucas Gravley
b3e44a5c7e made it better to read 2020-06-29 14:49:20 -05:00
Lucas Gravley
5d3c4a99c1 adding cloud formation 2020-06-29 14:38:24 -05:00
Lukas Gravley
3e895e123b
Merge branch 'master' into cfn-lint 2020-06-29 14:24:00 -05:00
Lucas Gravley
efb491d6cf fixed protobuf var
Co-authored-by: Thomas Hughes <iamhughes@github.com>
Co-authored-by: John Wiebalk <jwiebalk@github.com>
2020-06-29 12:52:36 -05:00
Lucas Gravley
37a37f0930 adding readme 2020-06-29 11:17:25 -05:00
Lucas Gravley
4ccd6b35c9 fixed bug 2020-06-29 10:43:52 -05:00
Lucas Gravley
4194a7a611 cleaner 2020-06-29 10:34:23 -05:00
Lucas Gravley
679ecf3b1a lets be literal 2020-06-29 10:15:39 -05:00
Lucas Gravley
b90310f2a8 fix path 2020-06-29 10:06:12 -05:00
Lucas Gravley
701abcc065 creating files 2020-06-29 09:55:59 -05:00
Lukas Gravley
54ae156900
Merge pull request #304 from github/FixVSCodeDebug
Fix vs code debug
2020-06-29 09:25:14 -05:00
Lucas Gravley
f6ebe07228 Merge branch 'master' into FixVSCodeDebug 2020-06-29 09:02:06 -05:00
Lucas Gravley
96b1e93522 Merge branch 'master' into Protolinter 2020-06-29 08:27:20 -05:00
Lukas Gravley
bf52a83423
Merge pull request #302 from github/fixClojure
Read Clojure filetypes from $FILE_TYPE, not $FILE
2020-06-29 08:22:11 -05:00
Victor Martinez
7cf73e5dc5
Merge branch 'master' into feature/tap-format 2020-06-29 11:08:40 +01:00
Søren Knudsen
a4fa97234a Read Clojure filetypes from $FILE_TYPE, not $FILE 2020-06-29 09:07:40 +02:00
Victor Martinez
030c23766f
fix: typo 2020-06-29 07:48:51 +01:00
yoheimuta
fb90d79524 Add protolint support to super-linter 2020-06-28 20:17:08 +09:00
Drew Ayling
d155ff2a3c Fix honoring pylint config file
The pylint config file is correctly being applied to
the pylint command, however, the `-E` flag is actually
not honoring any of the disabled messages in the
`.python-lint` file. By making this change to the
default lint file only the errors are output as expected
but honoring the disabled messages. Also, disable the score
as the -E flag also does.
2020-06-26 17:13:24 -06:00
Guillaume Delacour
234f8f9363
Remove unnecessary comment 2020-06-26 22:09:44 +02:00
Guillaume Delacour
eb8cf40bf5
Improve template detection 2020-06-26 21:52:40 +02:00
Guillaume Delacour
f1d1b1cbe2
Add AWS CloudFormation templates linting 2020-06-26 21:52:38 +02:00
Lucas Gravley
d8608a6cf1 solve name 2020-06-26 14:21:37 -05:00
Lucas Gravley
10a7c9c479 Adding cleaner update 2020-06-26 11:49:41 -05:00
Lucas Gravley
dc5df73afc Merge branch 'master' into EsConfig 2020-06-26 11:44:54 -05:00
Lucas Gravley
d572447287 Adding space support 2020-06-26 10:38:02 -05:00
Lucas Gravley
f087775d99 typo 2020-06-26 09:00:28 -05:00
Lucas Gravley
8fdce000bf got to catch them all 2020-06-26 08:44:27 -05:00
Lucas Gravley
116698b032 fixed linting errors 2020-06-26 08:26:36 -05:00
Lukas Gravley
625841f40f
Merge branch 'master' into OpenAPI 2020-06-26 08:19:10 -05:00
Lukas Gravley
910901a3bb
Merge pull request #256 from github/ClojureLint
Clojure lint
2020-06-26 07:38:36 -05:00
past-due
70f51ccd8f Add JAVASCRIPT_ES_CONFIG_FILE to specify eslintrc filename
See: https://eslint.org/docs/user-guide/configuring#configuration-file-formats
2020-06-25 23:02:07 -04:00
Justin Kalland
37f6828d1e Fix OpenAPI tests being run by JSON & YAML
Tests are run by file extension. The [JSON] and [YAML] tests were running the _bad_ [OPENAPI] tests and expecting them to fail.

For [OPENAPI] the _bad_ tests are syntactically good JSON/YAML but bad OAS.
2020-06-25 11:49:09 +02:00
Justin Kalland
eac560b35b Add support for OpenAPI 2020-06-25 08:13:19 +02:00
Victor Martinez
dd3a792f27
Use isTap function and fix the output format 2020-06-24 22:58:45 +01:00