Commit graph

546 commits

Author SHA1 Message Date
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