Commit graph

3852 commits

Author SHA1 Message Date
Eric Nemchik
c4708f8803
Merge pull request #537 from ryanmoran/master
Adds --external-sources option for shellcheck
2020-08-07 14:50:37 -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
Tudor Marghidanu
8309e9136f Adjusting perl test report 2020-08-07 17:25:00 +02:00
Tudor Marghidanu
a4b7076f30 Updating expected PERL report 2020-08-07 17:15:27 +02:00
Tudor Marghidanu
221f5862c7 Adjusting tests 2020-08-07 17:03:53 +02:00
Lukas Gravley
d082f4f6e4
Merge pull request #529 from github/BetterTests
Adding all codebase scan test
2020-08-07 09:22:17 -05:00
Lucas Gravley
2a162c85ab saved the world 2020-08-07 09:09:40 -05:00
Lucas Gravley
b83490fc43 sudo? 2020-08-07 08:40:27 -05:00
Lukas Gravley
9ea04e4012
Merge pull request #531 from GaboFDC/gf_improve_eslint
Improve eslint
2020-08-07 08:34:13 -05:00
Lukas Gravley
32fd8a4b58
Merge pull request #532 from GaboFDC/gf_allow_markdown_config_file
Allow to set markdownlint config file
2020-08-07 08:32:49 -05:00
Lucas Gravley
8f258a0f8c fix powershell again 2020-08-07 08:23:53 -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
Gabo
0e03102b3e Add airbnb config, and pretier plugin for eslint 2020-08-06 19:56:21 -05:00
Zack Koppert
4f070b62d7
Merge pull request #528 from github/SQL
Adding SQL-Lint
2020-08-06 17:06:20 -07:00
Lucas Gravley
f88db68011 remove space 2020-08-06 15:07:34 -05:00
Lucas Gravley
33f020ae4d fix powershell 2020-08-06 15:01:51 -05:00
Lucas Gravley
4241daf621 fixed bad var 2020-08-06 14:31:58 -05:00
Lucas Gravley
a6fc5ea2f0 typo 2020-08-06 13:55:44 -05:00
Lucas Gravley
c73d5c27e5 now with vars 2020-08-06 13:46:31 -05:00
Lucas Gravley
4f7a869dc7 source it 2020-08-06 13:32:23 -05:00
Lucas Gravley
b601d7057b mapfile 2020-08-06 13:22:34 -05:00
Lucas Gravley
6701372154 so dank 2020-08-06 13:16:23 -05:00
Lucas Gravley
c9ef1fcb66 Saving it 2020-08-06 12:01:36 -05:00
Lucas Gravley
e3cd76f9df Adding it 2020-08-06 11:58:26 -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
Lukas Gravley
b76da563c6
Merge pull request #527 from github/SupportAllYaml
Supporting yml and yaml file names
2020-08-06 11:26:52 -05:00
Lukas Gravley
af7c3071d3
Update disabling-linters.md 2020-08-06 11:14:01 -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
Lukas Gravley
48e854329b
Merge pull request #525 from github/FixPhp
Adding the look
2020-08-06 09:51:50 -05:00
Lucas Gravley
54fe9b762b Adding the look 2020-08-06 09:39:45 -05:00
Lukas Gravley
4973e1bd1c
Merge pull request #459 from quackduck/quackduck-pr
Work on adding Java
2020-08-06 09:25:52 -05:00
Lukas Gravley
4861c10554
forgot it... 2020-08-06 08:29:15 -05:00
Lukas Gravley
680a1e93f5
make compile 2020-08-06 08:24:02 -05:00
Ishan Goel
0b80e1f288 Revert filename change 2020-08-06 17:14:18 +04:00
Ishan Goel
ef62a7081c Make JavaGood compile-able and improve java_bad_1.java 2020-08-06 13:13:46 +04:00
Thomas Hughes
a6bdf858f2
fix javadoc error 2020-08-05 17:39:49 -05:00
Thomas Hughes
621244f8df
fix linter errors 2020-08-05 17:04:13 -05:00
Thomas Hughes
59badeabdd
fix xml check, add javadoc 2020-08-05 16:50:12 -05:00
Thomas Hughes
a1dd6f3835
Fix good java file 2020-08-05 16:24:46 -05:00
Thomas Hughes
4e725cba04
Fix good java file? 2020-08-05 16:14:13 -05:00
Thomas Hughes
3472359b2b
Fix good java file? 2020-08-05 16:04:04 -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