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
Tudor Marghidanu
523b14a2df
PerlCritic basic implementation
2020-08-07 14:58:40 +02: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
Lucas Gravley
2beb30e939
cleanup
2020-08-06 10:42:57 -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
a216a6623a
adding some good code
2020-08-05 13:35:14 -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
Filip Š
0c84fd5120
Fix PHPStan config
2020-08-04 19:15:46 +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
Lucas Gravley
84926171fb
fix arrays and add tests
2020-07-31 09:54:58 -05:00
Gabo
4a2bf935b7
Remane tests
2020-07-30 18:16:05 -05:00
Eric Nemchik
0e547aa871
Format (fix indentation)
2020-07-30 15:39:05 -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
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
Cees-Jan Kiewiet
76775d29b3
Add basic PHPStan support
2020-07-28 19:50:00 +02:00
Gabo
f372e4668b
Add python flake8 worker
2020-07-27 17:51:02 -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
Lukas Gravley
85209cfb5d
Merge pull request #476 from github/lua
...
add lua/luacheck to super-linter
2020-07-27 12:13:39 -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
Cesar Rodriguez
9cbcacb529
Fixes Terrascan tests
2020-07-24 00:55:31 -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
Lucas Gravley
2641579125
Adding it
2020-07-23 12:52:43 -05:00
Lukas Gravley
135b01cf51
Merge branch 'master' into Groovy
2020-07-23 09:08:35 -05:00
Lucas Gravley
9cb4c33715
found the missing link
2020-07-22 14:07:08 -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
Eric Nemchik
71a3cd9093
Braces
...
orthodontist
2020-07-21 14:39:14 -05:00
Lukas Gravley
c03ad1866e
Merge branch 'master' into stateLinter
2020-07-21 14:21:05 -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
Lucas Gravley
eaad677b54
more bugs
2020-07-21 09:14:23 -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
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
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
653a9cb606
small fix
2020-07-10 08:53:21 -05:00
Gabo
bbb04b7cf1
Fix dockerfilelint path
2020-07-08 13:17:05 -05: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
Lukas Gravley
3ddad12e89
Merge pull request #377 from nbrown/add-raku-support
...
Add basic Raku support
2020-07-06 20:24:48 -05:00
Eric Nemchik
d02e03878b
Shellcheck other extensions fix
2020-07-06 19:35:26 -05:00
Eric Nemchik
3bc0b6debb
Shellcheck other extensions
2020-07-06 15:01:13 -05:00
Casey Vega
7680d58cd5
merge with master
2020-07-06 11:11:35 -07:00
Lukas Gravley
04f39392e8
Merge branch 'master' into add-raku-support
2020-07-06 11:52:53 -05:00
Lukas Gravley
a0d4a72341
Merge branch 'master' into add-htmlhint
2020-07-06 09:00:52 -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
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
Eric Nemchik
c7775e8e1d
shfmt files
2020-07-01 16:46:35 -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
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
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
509f767b71
Update TestCodebase() for PowerShell
2020-07-01 08:27:29 +01: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
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