Commit graph

480 commits

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