Commit graph

604 commits

Author SHA1 Message Date
assignUser
0f47f68445 add .lintr detection 2020-08-17 12:01:25 +00:00
Julie Garrone
1022ad20f5 Fix indentation in comment and table 2020-08-17 09:59:09 +02:00
assignUser
6bb65aaa2c lowercase file_type 2020-08-16 13:31:23 +00:00
assignUser
7632f64664 ad lintr to TestCodebase 2020-08-16 12:44:37 +00:00
assignUser
527334883e adjust lint command 2020-08-16 00:18:31 +00:00
assignUser
8baec3bc77 fix 2020-08-15 23:43:42 +00:00
assignUser
a745a38df9 add apks 2020-08-15 22:53:08 +00:00
assignUser
0933aebc7a add R with edgecases 2020-08-15 19:29:22 +00:00
Julie Garrone
c043e87ef1 Fix VALIDATE variables name for Dockerfile linters 2020-08-14 10:38:26 +02:00
Lucas Gravley
0d3547c35b more quotes 2020-08-13 12:48:00 -05:00
Lucas Gravley
c7f28b9b7f backwards 2020-08-13 12:44:55 -05:00
Lucas Gravley
999413d224 adding more tests and cool logic 2020-08-13 12:40:21 -05:00
Lukas Gravley
f72cd683d7
Merge pull request #560 from GaboFDC/gf_sass
Add sass and scss files to stylelint
2020-08-13 12:22:04 -05:00
Lukas Gravley
b63730f8fb
Merge pull request #555 from GaboFDC/gf_better_validate_logic
Better VALIDATE_[LANGUAGE] vars logic
2020-08-13 12:21:08 -05:00
Lukas Gravley
118ab2ce5f
Merge pull request #563 from julie-garrone/fix-dockerfilelintrc-ignored-bug
Fix .dockerfilelintrc is ignored bug
2020-08-13 12:20:47 -05:00
Julie Garrone
f289ebd074 Fix dockerfile linters FILE_NAME variable 2020-08-13 18:03:13 +02:00
Lucas Gravley
345862a029 smallFix 2020-08-13 10:06:11 -05:00
Gabo
50cf06f562 Add sass and scss 2020-08-13 07:58:06 -05:00
Gabo
d05f179506 Add logic to include/exclude linters 2020-08-11 21:05:01 -05:00
Gabo
cb2cf0eb49 Fix spell 2020-08-11 21:04:33 -05:00
Lucas Gravley
0f88a9ea5d More verbose 2020-08-11 13:27:30 -05:00
Lucas Gravley
9856082087 add sql goods 2020-08-11 12:30:00 -05:00
Lukas Gravley
717f652dc9
super slick 2020-08-11 08:55:42 -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
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
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