Commit graph

645 commits

Author SHA1 Message Date
Lucas Gravley
9856082087 add sql goods 2020-08-11 12:30:00 -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
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
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
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 Š
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 Š
7abb1db30b Support for PHPCS and Psalm config files 2020-08-03 21:21:01 +02: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
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
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
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
1fce9458ce Sort alphabetically and configs for python flake8 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
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
Cesar Rodriguez
d423b1c36a Fixes Terrascan command 2020-07-24 00:19:49 -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
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
9cb4c33715 found the missing link 2020-07-22 14:07:08 -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
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
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
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
Victor Martinez
9d68381696
Generate report for the warnings 2020-07-19 20:26:20 +01:00
Lucas Gravley
7f15e0bf4e fixing ruby 2020-07-16 09:56:27 -05: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
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
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
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
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
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
2bf3e5a8f6
Merge branch 'master' into addEditorconfigChecker 2020-07-06 08:19:23 -07: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
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
esnow
10cdf0216d use global scope when setting the LANGAUGE_LINTER_RULES variable 2020-07-02 14:35:28 +01: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
Lucas Gravley
cee9c71797 fixed bug in openAPI path 2020-07-01 14:48:40 -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
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
6b60348fd5
Merge remote-tracking branch 'upstream/master' into github-issue-318 2020-07-01 08:36:12 +01:00
Lukas Gravley
dbc4dc9425
Merge pull request #329 from github/ShellCheck
Shell check
2020-06-30 16:48:30 -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
9b13062ca0
Update PowerShell checks and command 2020-06-30 20:32:42 +01: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
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
Victor Martinez
c26c3ddf8e
TAP 13 specification
See https://testanything.org/tap-version-13-specification.html
2020-06-24 22:49:12 +01:00
Victor Martinez
6b16354901
TAP Format 2020-06-24 22:45:44 +01:00
Zack Koppert
26d2ec1d2a
Merge pull request #193 from JustinGrote/dev/vsCodeHelpers
Dev: Add Visual Studio Code + Github Codespaces Support
2020-06-24 14:37:08 -07:00
Lucas Gravley
d6b1e51212 Merge branch 'master' into SpellingCheck 2020-06-24 15:43:23 -05:00
Gabo
3333b23249 Fix @admiralawkbar capitalization 2020-06-24 11:47:47 -05:00
Lucas Gravley
b26f7eda6d fixed command 2020-06-24 09:51:16 -05:00
Lucas Gravley
97612aab7e put it back, its magic 2020-06-24 08:12:53 -05:00
Lucas Gravley
d9c21f2599 Adding ansible 2020-06-24 07:58:27 -05:00
Lucas Gravley
26f16f42cb fixed ansible and powershell 2020-06-24 07:45:11 -05:00
Gabo
e15a4dc174 Add check spelling workflow
test bucket variable

Add empty expect words

add procjet varaible

Add excludes file

add patters for urls

Add newline at eof

Changing lorem ipsum for proper words

Add admiralawkbar to expected words

Exclude lint templates files

Add api apk and ansible as expected words

add expected words for cleanup-docker.sh

add expected words for ghe-config-apply.sh

Fix add-ons spelling

Add a bunch new words

Simpler url pattern

Use common baz word

Fix coffeescript spelling

Add expected words for ghe-api-config-apply.yml

Add ecpected words for linter.sh

Fix Multi-line spelling

Add more linter.sh expected words

Add a whole lot of expected words

Add pattern for repeated single char

Add space

Add expected words for Dockerfile

Add more expected words for ghe-api-config-apply.yml

Add expected words for he-initial-configuration.yml

Add expected words for ghe-ldap-configuration.yml

Move spelling/expect -> spelling/allow

Set workflow name

Fix @admiralawkbar capitalization

Fix requirements spelling

Add last docker allow words

Add last ghe-config-apply allow words

Add last linter.sh allow words

add last general allow words

Add .gitignore allow words

Add main.yml allow words

Add settings.json.j2 allow words

Add empty expect words

Test gitignore.txt

Fix patter for repeated chars

Add some more allowed words

more words

Add disabling-linters.md allow words

commit
2020-06-23 16:42:22 -05:00
Alexis La Goutte
52d6e690b2
linter.sh: fix align
After Powershell PR
2020-06-23 22:18:46 +02:00
Lucas Gravley
82af32982d Merge branch 'ClojureLint' of https://github.com/github/super-linter into ClojureLint 2020-06-23 12:46:23 -05:00
Lucas Gravley
b922ece707 found missing var 2020-06-23 12:45:57 -05:00
Lukas Gravley
7f08d221d0
Merge branch 'master' into ClojureLint 2020-06-23 12:42:00 -05:00
Eric Nemchik
60a6b9eb63 Use portable shebang 2020-06-23 11:02:45 -05:00
Victor Martinez
40687fc6db
Enable ansible linter in TAP format 2020-06-23 15:40:43 +01:00
Victor Martinez
ddbc96bd23
Support TAP reporting format 2020-06-23 15:25:12 +01:00
Lucas Gravley
10c6787b1e fixed collision 2020-06-23 08:28:38 -05:00
Lucas Gravley
45d56b2ab8 fixed conflict 2020-06-23 08:25:28 -05:00
Lucas Gravley
8ee90e6e35 fixed var name 2020-06-23 08:23:14 -05:00
Lukas Gravley
7c3fb97793
Merge branch 'master' into linterRules 2020-06-23 08:19:02 -05:00
Lucas Gravley
ae13786085 now with it saved 2020-06-23 07:59:14 -05:00
Lukas Gravley
f5dc615025
Merge branch 'master' into issue/111 2020-06-22 16:10:08 -05:00
Lukas Gravley
3a106aae21
Merge branch 'master' into kotlinSupport 2020-06-22 15:33:54 -05:00
Lukas Gravley
ac53da7a28
Merge branch 'master' into phpLint 2020-06-22 14:24:06 -05:00
Lukas Gravley
02f03f5a20
Merge branch 'master' into BetterEnv 2020-06-22 14:10:11 -05:00
Lukas Gravley
e7d5365da1
Merge branch 'master' into BetterEnv 2020-06-22 14:02:57 -05:00
Cees-Jan Kiewiet
f7ca82806f
Add PHP linting foundation 2020-06-22 20:47:00 +02:00
Lucas Gravley
714855e739 fixing quotes 2020-06-22 13:12:26 -05:00
Lucas Gravley
d7d3e72739 testing 2020-06-22 12:56:35 -05:00
Lucas Gravley
107387d10a fixing order 2020-06-22 12:27:54 -05:00
Lucas Gravley
64dba67f88 fixed error codes 2020-06-22 12:16:32 -05:00
Lucas Gravley
32232a2442 fixed quotes 2020-06-22 11:35:31 -05:00
Lucas Gravley
209529d93b cleanup 2020-06-22 11:16:45 -05:00
Lucas Gravley
dc7137b504 add all file types 2020-06-22 10:58:52 -05:00
Lucas Gravley
1ecb355954 fixed pathing 2020-06-22 10:36:06 -05:00
Lucas Gravley
5bbaf3f5a0 convert to more command line style 2020-06-22 10:29:34 -05:00
Lucas Gravley
2d72752496 fix loops 2020-06-22 08:23:46 -05:00
Lucas Gravley
96242befa3 fixed or statement 2020-06-22 08:20:50 -05:00
Lukas Gravley
6682f87622
Merge branch 'master' into PowershellSupport 2020-06-22 08:16:59 -05:00
goedelsoup
5063d7cb6c fix clojure file regex 2020-06-22 08:39:32 -04:00
Grachev Mikhail
081e267c15 Add support more variants names of env files
Update linter.sh

Update Dockerfile

Update linter.sh
2020-06-22 10:37:20 +03:00
Zack Koppert
89c4dd233a
Merge pull request #217 from ntchambers/pipe-fix
Turn the pipe operator into the proper or operator
2020-06-21 11:18:56 -07:00
Cory Parent
76e352bd4c
Merge branch 'master' into issue/111 2020-06-21 11:16:58 -04:00
Wonjun Kim
037865ec11 Add kotlin support to super-linter 2020-06-21 17:49:34 +09:00
Josh Soref
b283656177
spelling: whitespace 2020-06-21 00:03:30 -04:00
Josh Soref
0408343139
spelling: typescript 2020-06-21 00:00:46 -04:00
Josh Soref
566cd3d557
spelling: languages 2020-06-20 23:55:10 -04:00
Josh Soref
8ec0bd8f61
spelling: iterate 2020-06-20 23:54:43 -04:00
Josh Soref
44cade9161
spelling: commits 2020-06-20 23:50:46 -04:00
Josh Soref
246396b570
spelling: changeset 2020-06-20 23:50:18 -04:00
Josh Soref
e4fecc1c8d
spelling: against 2020-06-20 23:49:32 -04:00
sayboras
21c3bb86e9
feat(config): Add support for LINTER_PATH param
To add support for LINT_PATH param. This will make super-lint more
usable for existing projects, which might have lint rule file in
other location. The default value is still .github/lints.

Closes #161
2020-06-21 09:41:37 +10:00
Nicholas Chambers
502883f224 Turn the pipe operator into the proper or operator 2020-06-20 12:51:24 -05:00
Philip Mallegol-Hansen
ea7a07f1d3 Add missing closing curly brackets 2020-06-19 16:13:19 -07:00
Justin Grote
507afd74a7 Move to separate pwshlint script for better handling 2020-06-19 14:18:27 -07:00
Justin Grote
62fe1b7b41 Add Powershell to Linter 2020-06-19 14:18:26 -07:00
Justin Grote
d39d5c62ff Powershell Initial Commit 2020-06-19 14:18:26 -07:00
Cory Parent
c1d579cf15
Merge branch 'master' into issue/111 2020-06-19 14:39:44 -04:00
goedelsoup
69b98486a3 fix typo in variable name 2020-06-19 14:31:50 -04:00
goedelsoup
574bef0b3c Add support for Clojure with clj-kondo 2020-06-19 14:30:28 -04:00
Lukas Gravley
542b6f09d3
Merge pull request #194 from github/envLint
Add dotenv-linter support to super-linter
2020-06-19 13:08:16 -05:00
Lukas Gravley
98650b24d5
Merge branch 'master' into disableFlag 2020-06-19 12:42:19 -05:00
Lucas Gravley
2f7f03efe3 fixing logic 2020-06-19 12:39:08 -05:00
Artem Medvedev
df54ef2137 Add dotenv-linter support to super-linter (#173) 2020-06-19 20:32:07 +03:00
Justin Grote
90a1f525b0 Feat: Make GITHUB_WORKSPACE overridable in RUN_LOCAL Mode 2020-06-19 17:31:53 +00:00
Zack Koppert
511481e0c9
Merge branch 'master' into stylelint-support 2020-06-19 08:09:47 -07:00
Zack Koppert
8d6ac3b5a1
Merge pull request #186 from github/defaultWorkspace
Default workspace
2020-06-19 08:03:12 -07:00
Lukas Gravley
0390ed63ea
Merge branch 'master' into staging 2020-06-19 09:13:27 -05:00
Jason Lenny
d20d93fec3
Allow for workspace location to be provided by the end user
This will give more flexibility to anyone who doesn't happen to keep their files in /tmp/lint.
2020-06-19 11:47:45 +02:00
Antoine Leblanc
2751fb19a9
Minor brand wording change
Rename Github to GitHub.

Signed-off-by: Antoine Leblanc <ant.leblanc@gmail.com>
2020-06-19 07:44:26 +02:00
altanstalker
2cf1ae7cd8 Add stylelint support to super-linter
Added tests

Updated readme with usage notes (disabling lines etc) to match existing
content
2020-06-18 21:38:24 -04:00
Philip Mallegol-Hansen
33c2dd57f7 Update explicit references to master
Wherever the script previously used the master branch, we now substitute our DEFAULT_BRANCH variable.

We also create this variable at the beginning of the script, and default it to master if no value was passed in.
2020-06-18 14:04:41 -07:00
Sean Killeen
dc881c2d1a
Update lib/linter.sh 2020-06-18 16:47:52 -04:00
Sean Killeen
95af99a134
Update lib/linter.sh 2020-06-18 16:47:05 -04:00
Sean Killeen
49c6b4fa7d
Update lib/linter.sh 2020-06-18 15:26:21 -04:00
Sean Killeen
cf8b1eddfe
Update lib/linter.sh 2020-06-18 15:25:54 -04:00
Sean Killeen
ff19ebe77d
exit early if errors are disabled 2020-06-18 15:24:47 -04:00
Sean Killeen
2338c2c98e
Parse DEFAULT_ERRORS variable 2020-06-18 15:22:13 -04:00
Sean Killeen
4d2b216eaf
Add variable and default 2020-06-18 15:17:59 -04:00
Zack Koppert
f269b85ebe
Remove init of DEFAULT_VALIDATE_LANGUAGE
var is no longer in use
2020-06-16 15:22:54 -07:00
Philip Mallegol-Hansen
8b08dbbdf0 Migrate remaining linter options
The remaining linters are all enabled/disabled based on the same logic implemented previously for YAML and JSON.
2020-06-12 14:53:02 -07:00
Philip Mallegol-Hansen
b3dc7159a9 Adds JSON to new structure
We implement the same structure for reading the flag with the JSON parser.
2020-06-12 10:42:31 -07:00
Philip Mallegol-Hansen
dbfdea2ff3 Implement restructured flag parsing
We implement the new method of determining if the YAML linter should be enabled, which takes into account if any linters have been explicitly enabled.

Currently we only implement this for YAML as a testbed.
2020-06-12 10:39:38 -07:00
John Wiebalk
85b33a56f8
set path for possum 2020-05-06 11:27:45 -04:00
Lucas Gravley
55a8c200d3 with teeth 2020-05-06 10:03:06 -05:00